Shunde.NET Framework Class Library

ObjectEditor Properties

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

Public Instance Properties

AccessKey (inherited from WebControl)Gets or sets the access key that allows you to quickly navigate to the Web server control.
AfterObjectDeletedDelegateIf the object editor deletes the object, then this will be called upon a successful delete, upon which the delegate will probably redirect to another page.
AfterObjectSavedDelegateIf the object editor saves the object, then this will be called upon a successful save, upon which the delegate will probably redirect to another page.
AppRelativeTemplateSourceDirectory (inherited from Control)Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control.
Attributes (inherited from WebControl)Gets the collection of arbitrary attributes (for rendering only) that do not correspond to properties on the control.
AutoPopulateSelectionsIf true, then selections will be automatically populated, if they aren't already
BackColor (inherited from WebControl)Gets or sets the background color of the Web server control.
BeforeSaveDelegateIf this is set and ObjectSaveDelegate is null, then this will be called after populating the object with the values from the object editor, but before the Save method is called.
BindingContainer (inherited from Control)Gets the control that contains this control's data binding.
BorderColor (inherited from WebControl)Gets or sets the border color of the Web control.
BorderStyle (inherited from WebControl)Gets or sets the border style of the Web server control.
BorderWidth (inherited from WebControl)Gets or sets the border width of the Web server control.
CancelButton 
ClientID (inherited from Control)Gets the server control identifier generated by ASP.NET.
Controls (inherited from Control)Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
ControlStyle (inherited from WebControl)Gets the style of the Web server control. This property is used primarily by control developers.
ControlStyleCreated (inherited from WebControl)Gets a value indicating whether a Style object has been created for the ControlStyle property. This property is primarily used by control developers.
CssClass (inherited from WebControl)Gets or sets the Cascading Style Sheet (CSS) class rendered by the Web server control on the client.
DateTextBoxWidth The default width of date textboxes
DBObjectThe object being edited
DeleteButton 
EditCancelledDelegateCalled when the 'cancel' button is pressed
Enabled (inherited from WebControl)Gets or sets a value indicating whether the Web server control is enabled.
EnableTheming (inherited from WebControl)Gets or sets a value indicating whether themes apply to this control.
EnableViewState (inherited from Control)Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client.
FileUploaderWidth The default width of file uploaders
Font (inherited from WebControl)Gets the font properties associated with the Web server control.
ForeColor (inherited from WebControl)Gets or sets the foreground color (typically the color of the text) of the Web server control.
HasAttributes (inherited from WebControl)Gets a value indicating whether the control has attributes set.
Height (inherited from WebControl)Gets or sets the height of the Web server control.
ID (inherited from Control)Gets or sets the programmatic identifier assigned to the server control.
IsForPublicIf set to false, then extra info is given in dropdown boxes. This should be false almost always.
MultilineTextBoxHeight The default width of string textboxes
NamingContainer (inherited from Control)Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same ID property value.
NumberTextBoxWidth The default width of number textboxes
ObjectDeleteDelegateIf this is set, then this will be called when the object editor 'delete' button is pressed. If it is null, then the object editor will delete the object.
ObjectSaveDelegateIf this is set, then this will be called when the object editor 'save' button is pressed. If it is null, then the object editor will save the object.
Page (inherited from Control)Gets a reference to the Page instance that contains the server control.
Parent (inherited from Control)Gets a reference to the server control's parent control in the page control hierarchy.
SaveButton 
ShowOnlySpecifiedIf true, then only those columns that have information in the info hashtable will be shown
Site (inherited from Control)Gets information about the container that hosts the current control when rendered on a design surface.
SkinID (inherited from WebControl)Gets or sets the skin to apply to the control.
StringTextBoxWidth The default width of string textboxes
Style (inherited from WebControl)Gets a collection of text attributes that will be rendered as a style attribute on the outer tag of the Web server control.
TabIndex (inherited from WebControl)Gets or sets the tab index of the Web server control.
TemplateControl (inherited from Control)Gets or sets a reference to the template that contains this control.
TemplateSourceDirectory (inherited from Control)Gets the virtual directory of the Page or UserControl that contains the current server control.
ToolTip (inherited from WebControl)Gets or sets the text displayed when the mouse pointer hovers over the Web server control.
UniqueID (inherited from Control)Gets the unique, hierarchically qualified identifier for the server control.
UpdaterName An optional Name to record who updated this object
Visible (inherited from Control)Gets or sets a value that indicates whether a server control is rendered as UI on the page.
Width (inherited from WebControl)Gets or sets the width of the Web server control.

Protected Instance Properties

Adapter (inherited from Control)Gets the browser-specific adapter for the control.
ChildControlsCreated (inherited from Control)Gets a value that indicates whether the server control's child controls have been created.
ClientIDSeparator (inherited from Control)Gets a character value representing the separator character used in the ClientID property.
Events (inherited from Control)Gets a list of event handler delegates for the control. This property is read-only.
HasChildViewState (inherited from Control)Gets a value indicating whether the current server control's child controls have any saved view-state settings.
IdSeparator (inherited from Control)Gets the character used to separate control identifiers.
IsTrackingViewState (inherited from Control)Gets a value that indicates whether the server control is saving changes to its view state.
LoadViewStateByID (inherited from Control)Gets a value indicating whether the control participates in loading its view state by ID instead of index.
TagKey Gets the tag that surrounds this control
TagName (inherited from WebControl)Gets the name of the control tag. This property is used primarily by control developers.
ViewState (inherited from Control)Gets a dictionary of state information that allows you to save and restore the view state of a server control across multiple requests for the same page.
ViewStateIgnoresCase (inherited from Control)Gets a value that indicates whether the StateBag object is case-insensitive.

Protected Internal Instance Properties

Context (inherited from Control)Gets the HttpContext object associated with the server control for the current Web request.
DesignMode (inherited from Control)Gets a value indicating whether a control is being used on a design surface.
IsChildControlStateCleared (inherited from Control)Gets a value indicating whether controls contained within this control have control state.
IsEnabled (inherited from WebControl)Gets a value indicating whether the control is enabled.
IsViewStateEnabled (inherited from Control)Gets a value indicating whether view state is enabled for this control.

See Also

ObjectEditor Class | Shunde.WebControls Namespace