The EntityDataBindingItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | EntityDataBindingItem | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() | DataBind | Overloaded. |
![]() | OnValidate |
Fires the Validation Event
|
![]() | ToString |
Returns a path description for the controls binding source and binding source member
(Overrides Object..::.ToString()()().) |
![]() | Unbind | Overloaded. |
Fields
Name | Description | |
---|---|---|
![]() | DesignMode |
Indicates if the control is in design mode
|
Properties
Name | Description | |
---|---|---|
![]() | Binder |
Gets or sets the associated EntityDataBinder
|
![]() | BindingMode |
Determines how databinding and unbinding is done on the target control.
One way only fires DataBind() and ignores Unbind() calls.
Two-way does both. None effectively turns off binding.
|
![]() | BindingSource |
Gets or sets the binding source.
|
![]() | BindingSourceMember |
Gets or sets the binding source member.
|
![]() | BindingSourceObject |
Gets or sets the binding source object.
|
![]() | DataSourceTextField |
Gets or sets the Property to use for the TextField when using DataSource binding
|
![]() | DataSourceValueField |
The Property to use for the ValueField when using DataSource binding
|
![]() | DisplayFormat |
Format Expression ( {0:c) ) applied to the binding source when it's displayed.
Watch out for two way conversion issues when formatting this way. If you create
expressions and you are also saving make sure the format used can be saved back.
|
![]() | EnableViewState |
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.
(Overrides Control..::.EnableViewState.) |
![]() | FriendlyName |
A descriptive name for the field used for error display
|
![]() | ID |
Gets or sets the programmatic identifier assigned to the server control.
(Overrides Control..::.ID.) |
![]() | IsRequired |
If set requires that the control contains a value, otherwise a validation error is thrown
Useful mostly on TextBox controls only.
|
![]() | TargetControl |
Gets or sets the ID of the control to that is bound
|
![]() | TargetControlInstance |
Gets or sets the target control instance.
|
![]() | TargetControlProperty |
Gets or sets the property that is bound on the target control
|
![]() | Visible |
Gets or sets a value that indicates whether a server control is rendered as UI on the page.
(Overrides Control..::.Visible.) |
Events
Name | Description | |
---|---|---|
![]() | Validate |
Use this event to hook up special validation logic. Called after binding completes. Return false to indicate validation failed
|