Class TagEdit
Page for editing a tag.
[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class TagEdit : InfoEditPage<TagInfo>, IPage
- Inheritance
-
objectTagEdit
- Implements
- Inherited Members
- Extension Methods
Constructors
TagEdit(IFormComponentMapper, IFormDataBinder)
Initializes an instance of the TagEdit class.
public TagEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBinder
Properties
ObjectId
ID of the object.
[PageParameter(typeof(IntPageModelBinder), typeof(TagEditLayout))]
public override int ObjectId { get; set; }
Property Value
- int
TaxonomyID
Taxonomy ID.
[PageParameter(typeof(IntPageModelBinder), typeof(TaxonomyEditSection))]
public int TaxonomyID { get; set; }
Property Value
- int
Methods
FinalizeInfoObject(TagInfo, IFormFieldValueProvider, CancellationToken)
Allows to modify values of infoObject
before validation and saving.
protected override Task FinalizeInfoObject(TagInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)
Parameters
infoObject
TagInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
cancellationToken
CancellationTokenThe cancellation instruction.
Returns
- Task
GetFormItems()
Prepares form items for editing object of the specified ObjectType.
protected override Task<ICollection<IFormItem>> GetFormItems()
Returns
- Task<ICollection<IFormItem>>
Returns the collection of form items.
ValidatePage()
Validates the page state prior invocation of the ConfigurePage() method.
public override Task<PageValidationResult> ValidatePage()
Returns
- Task<PageValidationResult>