ControlParameter Members
.NET Framework 3.0
Binds the value of a property of a Control to a parameter object.
The following tables list the members exposed by the ControlParameter type.
(see also
Protected Constructors
)
Top
| Name | Description | |
|---|---|---|
| ControlParameter | Overloaded. Initializes a new instance of the ControlParameter class. |
| Name | Description | |
|---|---|---|
| ControlParameter | Overloaded. Initializes a new instance of the ControlParameter class. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| ControlID | Specifies the name of the control that the ControlParameter object binds to. |
| ConvertEmptyStringToNull | Gets or sets a value indicating whether the value that the Parameter object is bound to should be converted to a null reference (Nothing in Visual Basic) if it is String.Empty.(inherited from Parameter) |
| DefaultValue | Specifies a default value for the parameter, should the value that the parameter is bound to be uninitialized when the Evaluate method is called.(inherited from Parameter) |
| Direction | Indicates whether the Parameter object is used to bind a value to a control, or the control can be used to change the value.(inherited from Parameter) |
| Name | Gets or sets the name of the parameter.(inherited from Parameter) |
| PropertyName | Gets or sets the property name of the control identified by the ControlID property that the ControlParameter object binds to. |
| Size | Gets or sets the size of the parameter.(inherited from Parameter) |
| Type | Gets or sets the type of the parameter.(inherited from Parameter) |
| Name | Description | |
|---|---|---|
| IsTrackingViewState | Gets a value indicating whether the Parameter object is saving changes to its view state.(inherited from Parameter) |
| ViewState | Gets a dictionary of state information that allows you to save and restore the view state of a Parameter object across multiple requests for the same page.(inherited from Parameter) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Converts the value of this instance to its equivalent string representation. (inherited from Parameter) |
| Name | Description | |
|---|---|---|
| Clone | Overridden. Returns a duplicate of the current ControlParameter instance. |
| Evaluate | Overridden. Updates and returns the value of the ControlParameter object. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| LoadViewState | Restores the data source view's previously saved view state. (inherited from Parameter) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| OnParameterChanged | Calls the OnParametersChanged method of the ParameterCollection collection that contains the Parameter object. (inherited from Parameter) |
| SaveViewState | Saves the changes to the Parameter object's view state since the time the page was posted back to the server. (inherited from Parameter) |
| SetDirty | Marks the Parameter object so its state will be recorded in view state. (inherited from Parameter) |
| TrackViewState | Causes the Parameter object to track changes to its view state so they can be stored in the control's ViewState object and persisted across requests for the same page. (inherited from Parameter) |
Community Additions
ADD
Show: