Class ExtensionSelectorComponent
Represents the Extension selector form component.
[ComponentAttribute(typeof(ExtensionSelectorComponentAttribute))]
public sealed class ExtensionSelectorComponent : FormComponent<ExtensionSelectorProperties, ExtensionSelectorClientProperties, string>, IFormComponent, IFormItem<IFormComponentClientProperties>, IFormItem
- Inheritance
-
objectExtensionSelectorComponent
- Implements
- Inherited Members
- Extension Methods
Constructors
ExtensionSelectorComponent(ILocalizationService, ISettingsService)
Creates a new instance of the ExtensionSelectorComponent class.
public ExtensionSelectorComponent(ILocalizationService localizationService, ISettingsService settingsService)
Parameters
localizationService
ILocalizationServicesettingsService
ISettingsService
Fields
IDENTIFIER
Represents the ExtensionSelectorComponent identifier.
public const string IDENTIFIER = "Kentico.Administration.ExtensionSelector"
Field Value
- string
Properties
ClientComponentName
Name of the front-end type implementing the UI form component.
public override string ClientComponentName { get; }
Property Value
- string
Methods
ConfigureClientProperties(ExtensionSelectorClientProperties)
Configures the form component client properties.
protected override Task ConfigureClientProperties(ExtensionSelectorClientProperties clientProperties)
Parameters
clientProperties
ExtensionSelectorClientPropertiesThe current instance of the form component client properties.
Returns
- Task
Remarks
Override this method in order to configure form component client properties.
GetValue()
Gets the value of the form component.
public override string GetValue()
Returns
- string
Returns the value of the form component.
Remarks
The value can be additionally modified before it is retrieved for data propagation.
SetValue(string)
Sets the value of the form component.
public override void SetValue(string value)
Parameters
value
stringValue to be set.
Remarks
The value
can be additionally modified for component usage.
Component is fully configured when method is called.