Click or drag to resize
CompareToFieldSelectorComponent Methods

The CompareToFieldSelectorComponent type exposes the following members.

Methods
  NameDescription
Public methodBindContext
Binds contextual values from a PropertiesPanelComponentContext instance. The component cannot work in any other context.
(Overrides FormComponentBindContext(FormComponentContext).)
Public methodGetDisplayName
Returns non-localized string representing component name. Component Name is returned in case of empty Label.
(Inherited from FormComponent.)
Protected methodGetFieldNameOptions
Gets enumeration of available fields to populate the selector.
Public methodGetModelPropertyCustomAttributesT
Gets a collection of custom attributes applied to the model's property this form component represents.
(Inherited from FormComponent.)
Public methodGetObjectValue
Gets the value of the form component. The GetValue method can be used directly to obtain the typed value.
(Inherited from FormComponentTProperties, TValue.)
Protected methodGetSelectListItems Obsolete.
Gets enumeration of available fields to populate the selector.

This method is obsolete. Use GetFieldNameOptions method instead.

Public methodGetValue
Gets the selected field GUID, if any field is available for selection.
(Overrides FormComponentTProperties, TValueGetValue.)
Public methodLoadProperties
Loads properties of the form component. The actual properties type must match the PropertiesType.
(Inherited from FormComponentTProperties, TValue.)
Public methodModifyMetadata
Modifies modelMetadata according to the current object.
(Inherited from FormComponent.)
Public methodSetObjectValue
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.)
Public methodSetValue
Sets the selected field GUID.
(Overrides FormComponentTProperties, TValueSetValue(TValue).)
Public methodValidate
Determines whether the specified object is valid. Only invoked if validation by validation attributes passes for all fields.
(Inherited from FormComponent.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetBizFormComponentContext
Gets BizFormComponentContext of a form component, if such a context was bound to the component.
(Defined by FormComponentExtensions.)
Top
See Also