* Splitter.cs: Added missing attributes for BorderStyle property.
* TextBoxBase.cs: Marked Calculate* methods internal.
* TextBox.cs: Fixed DefaultValue for PasswordChar property to match MS.NET.
svn path=/trunk/mcs/; revision=50778
+2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
+ * Splitter.cs: Added missing attributes for BorderStyle property.
+ * TextBoxBase.cs: Marked Calculate* methods internal.
+ * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
+ MS.NET.
+
2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs: Fixes navigation to the last item in multicolumn lists
public class DataGridBoolColumn : DataGridColumnStyle
{
[Flags]
- public enum CheckState {
+ private enum CheckState {
Checked = 0x00000000,
UnChecked = 0x00000002,
Null = 0x00000004,
using System.ComponentModel.Design;
using System.Drawing;
using System.Drawing.Drawing2D;
+using System.Runtime.InteropServices;
using System.Windows.Forms;
#region Public Instance Properties
+ [DispId (-504)]
+ [DefaultValue (BorderStyle.None)]
public BorderStyle BorderStyle {
get { return drag_form.InternalBorderStyle; }
set { drag_form.InternalBorderStyle = value; }
}
[Localizable(true)]
- [DefaultValue("")]
+ [DefaultValue('\0')]
public char PasswordChar {
get {
return password_char;
}
- protected void CalculateDocument() {
+ internal void CalculateDocument() {
if (!IsHandleCreated) {
return;
}
Invalidate(); // FIXME - do we need this?
}
- protected void CalculateScrollBars() {
+ internal void CalculateScrollBars() {
// FIXME - need separate calculations for center and right alignment
// No scrollbars for a single line
if (document.Width >= this.Width) {