ObjectSelectorComponentBaseTProperties, TSelectorItem Methods |
The ObjectSelectorComponentBaseTProperties, TSelectorItem generic type exposes the following members.
Name | Description | |
---|---|---|
BindContext | Binds contextual information to the form component. The actual type of context depends on where the component is being used. The component can throw an exception if being used in a context for which it is not designed. The base implementation provided by this class must be called prior to throwing an exception, however. | |
GetDisplayName |
Returns non-localized string representing component name.
Component Name is returned in case of empty Label.
(Inherited from FormComponent.) | |
GetItemsEndpointUrl |
Gets the endpoint URL that provides data for the selector component.
| |
GetModelPropertyCustomAttributesT |
Gets a collection of custom attributes applied to the model's property
this form component represents.
(Inherited from FormComponent.) | |
GetObjectValue |
Gets the value of the form component. The GetValue method can be used
directly to obtain the typed value.
(Inherited from FormComponentTProperties, TValue.) | |
GetSelectedListItems |
Returns selected objects as list items.
| |
GetValue |
Gets the value of the form component. Implement in a subclass to return value of a desired property.
Method can also be used to return a value composed of multiple properties if required.
(Overrides FormComponentTProperties, TValueGetValue.) | |
LoadProperties |
Loads properties of the form component. The actual properties type must match the PropertiesType.
(Inherited from FormComponentTProperties, TValue.) | |
ModifyMetadata |
Modifies modelMetadata according to the current object.
(Inherited from FormComponent.) | |
SetObjectValue |
Sets the value of the form component.
The value must be of proper type or an exception is thrown.
The SetValue(TValue) method can be used directly to set the typed default value.
(Inherited from FormComponentTProperties, TValue.) | |
SetValue |
Sets the value of the form component. Implement in a subclass to set value of a desired property.
Method can also be used to decompose passed value into several properties rendered in the resulting form component markup.
(Overrides FormComponentTProperties, TValueSetValue(TValue).) | |
Validate |
Determines whether the specified object is valid.
Only invoked if validation by validation attributes passes for all fields.
(Overrides FormComponentValidate(ValidationContext).) |
Name | Description | |
---|---|---|
GetBizFormComponentContext |
Gets BizFormComponentContext of a form component, if such a context was bound to the component.
(Defined by FormComponentExtensions.) |