The ThreeStateCheckBox type exposes the following members.

Constructors

  Name Description
Public method ThreeStateCheckBox
Initializes a new instance of the ThreeStateCheckBox class.

Methods

  Name Description
Protected method checkBox_Command
Handles the Command event of the checkBox control.
Protected method CreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Overrides Control..::..CreateChildControls()()()().)
Public method GetScriptDescriptors
Gets the script descriptors.
Public method GetScriptReferences
Gets the script references.
Protected method OnCheckChanged
Raises the [E:CheckChanged] event of the ThreeStateCheckBox control. This allows you to handle the event directly.
Protected method OnPreRender
Raises the PreRender event.
(Overrides Control..::..OnPreRender(EventArgs).)
Protected method Render (Overrides CompositeControl..::..Render(HtmlTextWriter).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method FindControlRecursive
Recursively finds a child control by Id.
(Defined by ControlExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method HideWithCss
Hides a control via css display attribute.
(Defined by ControlExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method Select<(Of <<'(T>)>>)()()()() Overloaded. (Defined by ControlExtension.)
Public Extension Method Select<(Of <<'(T>)>>)(Predicate<(Of <<'(Control>)>>)) Overloaded.
Recursively search Control hierarcy for ALL controls that matches the given Predicate and returns them as T.
(Defined by ControlExtension.)
Public Extension Method SelectFirst<(Of <<'(T>)>>)()()()() Overloaded.
Recursively searches Control hierarchy for the first control that matches the type of T and returns it as T
(Defined by ControlExtension.)
Public Extension Method SelectFirst<(Of <<'(T>)>>)(Predicate<(Of <<'(Control>)>>)) Overloaded.
Recursively searches Control hierarchy for matches for Predicate and returns it as T.
(Defined by ControlExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method ShowWithCss
Displays a control via css display attribute.
(Defined by ControlExtension.)
Public Extension Method ToggleVisibilityWithCss
Toggles control visibility via CSS display attribute.
(Defined by ControlExtension.)

Fields

Properties

  Name Description
Public property AutoPostBack
Gets or sets a value indicating whether the ThreeStateCheckBox state automatically posts back to the server when clicked.
Public property CausesValidation
Gets or sets a value indicating whether validation is performed when the ThreeStateCheckBox control is selected.
Public property Checked
Gets or sets a value indicating the checked state of the checkbox, either blank, checked or unchecked.
Public property CheckedStateLabel
Public property CommandArgument
Gets or sets the data key which is available upon post back for easily identifying this particular check box.
Public property ShowText
Gets or sets a value indicating whether the ThreeStateCheckBox should show text beside the actual checkbox.
Public property ThreeStateEnabled
Gets or sets if three state check box mode is enabled.
Public property UncheckedStateLabel
Public property UndefinedStateLabel
Public property ValidationGroup
Gets or sets the group of controls for which the ThreeStateCheckBox control causes validation when it posts back to the server.

Events

  Name Description
Public event CheckedChanged
Occurs when the value of the Checked property changes between posts to the server.

See Also