NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGridTextBox Properties

The properties of the DataGridTextBox class are listed below. For a complete list of DataGridTextBox class members, see the DataGridTextBox Members topic.

Public:

AcceptsReturn (inherited from TextBox) Gets or sets a value indicating whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form.
AcceptsTab (inherited from TextBoxBase) Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order.
AccessibilityObject (inherited from RichControl) The Accessibility Object for this RichControl
AccessibleDefaultActionDescription (inherited from RichControl) The default action description of the control
AccessibleDescription (inherited from RichControl) The accessible description of the control
AccessibleHelpProvider (inherited from RichControl) The help provider for this RichControl
AccessibleName (inherited from RichControl) The accessible name of the control
AccessibleRole (inherited from RichControl) The accessible role of the control
AllowDrop (inherited from RichControl) The allowDrop property. If allowDrop is set to true then this control will allow drag and drop operations and events to be used.
AllowTransparency (inherited from RichControl) Determines if the control should be allowed to have the opacity adjusted. This is primarily a performance optimization, in that you can always set the opacity to any value, and that will force AllowTransparency to true. However, setting the opacity to any given value will switch the control into layered mode. By setting the AllowTransparency property to false the control will actually switch out of layered mode, which provides better performance if you don't intend to adjust the opacity.
Anchor (inherited from RichControl) The current value of the anchor property. The anchor property determines which edges of the control are anchored to the container's edges.
AutoSize (inherited from TextBoxBase) Gets or sets a value indicating whether the size of the control automatically adjusts when the font assigned to the control is changed is changed.
BackColor (inherited from TextBoxBase) Gets or sets the background color of the control.
BackgroundImage (inherited from TextBoxBase) [To be supplied.]
BindingManager (inherited from RichControl) [To be supplied.]
Bindings (inherited from RichControl) Retrieves the bindings for this control.
BorderStyle (inherited from TextBoxBase) Gets or sets the border type of the text box control.
Bottom (inherited from Control) The bottom coordinate of this control.
Bounds (inherited from Control) The bounds of this control. This is the window coordinates of the control in parent client coordinates.
CanFocus (inherited from Control) Checks if this control can receive focus. The result is true if the control has a handle and if it and all of its parent controls are both visible and enabled.
CanSelect (inherited from Control) Checks if this control can be selected. The result is true if the control is contained in a form and if all of its parent controls are both visible and enabled.
CanUndo (inherited from TextBoxBase) Gets a value indicating whether the user can undo the previous operation in a text box control.
Capture (inherited from Control) If this control has captured the mouse then this will return true.
CausesValidation (inherited from Control) Indicates whether entering this control causes validation on the controls requiring validation. This is set to false usually for things like the Help button, etc...
CharacterCasing (inherited from TextBox) Gets or sets whether the TextBox control modifies the case of characters as they are typed.
ClientRectangle (inherited from Control) The client rect of the control.
ClientSize (inherited from Control) The size of the clientRect.
CompanyName (inherited from RichControl) Retrieves the company name of this specific component.
ContainsFocus (inherited from Control) Indicates whether the control or one of its children currently has the system focus.
ContextMenu (inherited from RichControl) The contextMenu associated with this control. The contextMenu will be shown when the user right clicks the mouse on the control.
Controls (inherited from Control) Collection of child controls.
Created (inherited from Control) Returns true if the control has been created.
Cursor (inherited from RichControl) Retrieves the cursor that will be displayed when the mouse is over this control.
DisplayRectangle (inherited from Control) Returns the client rect of the display area of the control. For the base control class, this is identical to getClientRect. However, inheriting controls may want to change this if their client area differs from their display area.
Disposed (inherited from Control) Indicates that the control has been disposed, and is no longer a valid Windows control even though the object instance is still alive.
Disposing (inherited from Control) Indicates that the control is in the process of being beendisposed, and is no longer a valid Windows control even though the object instance is still alive.
Dock (inherited from RichControl) The dock property. The dock property controls to which edge of the container this control is docked to. For example, when docked to the top of the container, the control will be displayed flush at the top of the container, extending the length of the container.
Enabled (inherited from Control) The current enabled state of this control.
Focused (inherited from Control) Returns true if this control has focus.
Font (inherited from FormatControl) FormatControl overrides Font so it can return the current font based on any kind of ambients the associated format object is providing.
ForeColor (inherited from TextBoxBase) Gets or sets the foreground color of the control.
Format (inherited from FormatControl) The formatting object the control uses for Value<->Text conversion (with support for different conversions for display and edit mode) and for ForeColor/BackColor/Font enhancements. Format objects available include NumericFormat for numeric types, DateTimeFormat for DateTimes, and GenericFormat for value-to-text conversion based on TypeConverters.
Handle (inherited from Control) The HWND handle that this control is bound to. If the handle has not yet been created, this will force handle creation.
HandleCreated (inherited from Control) Whether or not this control has a handle associated with it.
Height (inherited from Control) The height of this control
HideSelection (inherited from TextBoxBase) Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.
IMEMode (inherited from RichControl) Specifies a value that determines the IME (Input Method Editor) status of the object when that object is selected.
InvokeRequired (inherited from RichControl) Determines if the caller must call invoke when making method calls to this control. Controls in WinForms are bound to a specific thread, and are not thread safe. Therefore, if you are calling a control's method from a different thread, you must use the control's invoke method to marshal the call to the proper thread. This function can be used to determine if you must call invoke, which can be handy if you don't know what thread owns a control. There are five functions on a control that are safe to call from any thread: GetInvokeRequired, Invoke, BeginInvoke, EndInvoke and CreateGraphics. For all other metohd calls, you should use one of the invoke methods.
IsAccessible (inherited from RichControl) Indicates whether or not this control is an accessible control i.e. whether it should be visible to accessibility applications.
IsInEditOrNavigateMode [To be supplied.]
Left (inherited from Control) The left coordinate of this control.
Lines (inherited from TextBoxBase) Gets or sets the lines of text in an text box control.
Location (inherited from Control) The location of this control.
MaxLength (inherited from TextBoxBase) Gets or sets the maximum number of characters the user can type into the text box control.
Modified (inherited from TextBoxBase) Gets or sets a value that indicates that the text box control has been modified by the user since the control was created or its contents were last set.
Multiline (inherited from TextBoxBase) Gets or sets a value indicating whether this is a multiline text box control.
Opacity (inherited from RichControl) Determines the opacity of the control. This can only be set on top level controls. Opacity requires Windows 2000 or later, and is ignored on earlier operating systems.
Parent (inherited from Control) The parent of this control.
PasswordChar (inherited from TextBox) Gets or sets the character used to mask characters in a single-line text box control used to enter passwords.
PreferredHeight (inherited from TextBoxBase) Returns the preferred height for a single-line text box.
ProductName (inherited from RichControl) Retrieves the product name of this specific component.
ProductVersion (inherited from RichControl) Retrieves the product version of this specific component.
ReadOnly (inherited from TextBoxBase) Gets or sets a value indicating whether text in the text box is read-only.
RecreatingHandle (inherited from Control) This is true if the control is currently recreating its handle.
Region (inherited from RichControl) The Region associated with this control. (defines the outline/silhouette/boundary of control)
Right (inherited from Control) The right coordinate of this control.
RightToLeft (inherited from RichControl) This is used for international applications where the language is written from RightToLeft. When this property is true, control placement and text will be from right to left.
ScrollBars (inherited from TextBox) Gets or sets which scroll bars should appear in a multiline TextBox control.
SelectedText (inherited from TextBoxBase) The currently selected text in the control.
SelectionLength (inherited from TextBoxBase) Gets or sets the number of characters selected in the text box.
SelectionStart (inherited from TextBoxBase) Gets or sets the starting point of text selected in the text box.
Site (inherited from MarshalByRefComponent) Gets or sets the site of the component.
Size (inherited from Control) The size of this control.
TabIndex (inherited from Control) The tab index of this control. A tab index may consist of any valid integer number greater than or equal to zero. If more than one control on the same parent control has the same tab index, the z-order of the controls will be used to determine the order to pick the controls.
TabStop (inherited from Control) A boolean value indicating whether the user can give the focus to this control using the TAB key.
Text (inherited from TextBoxBase) The current text in the text box.
TextAlign (inherited from TextBox) Gets or sets how text is aligned in a TextBox control.
Top (inherited from Control) Top coordinate of this control.
TopLevel (inherited from Control) true if this control is a top level window, meaning that it has no parent.
TopLevelControl (inherited from Control) The top level control that contains this control. This doesn't have to be the same as the value returned from getForm since forms can be parented to other controls.
Value (inherited from FormatControl) The value of the RichControl. This is used with the Format property to format a string to push/pull into the Text property (if the Format property is null, this property sync's up with the Text property.)
Visible (inherited from Control) Controls whether the control is visible.
Width (inherited from Control) The width of this control.
WindowTarget (inherited from Control) The target of Win32 window messages.
WordWrap (inherited from TextBoxBase) Gets or sets a value indicating whether a multiline text box control automatically wraps words to the beginning of the next line when necessary.

Protected:

CreateParams (inherited from TextBox) Returns the parameters needed to create the handle. Inheriting classes can override this to provide extra functionality. They should not, however, forget to call base.getCreateParams() first to get the struct filled up with the basic info.
CreateThreadId (inherited from Control) Retrieves the Win32 thread ID of the thread that created the handle for this control. If the control's handle hasn't been created yet, this method will return the current thread's ID.
FontHeight (inherited from RichControl) [To be supplied.]
InternalHandle (inherited from Control) Returns the current value of the handle. This may be zero if the handle has not been created.
ParkingFormHandle (inherited from RichControl) [To be supplied.]
RenderRightToLeft (inherited from RichControl) [To be supplied.]
RichParent (inherited from RichControl) [To be supplied.]
WindowText (inherited from TextBoxBase) [To be supplied.]

See Also

DataGridTextBox Class | System.WinForms Namespace