Class ContactGroupEditDialog
- Namespace
- Kentico.Xperience.Admin.DigitalMarketing.UIPages
- Assembly
- Kentico.Xperience.Admin.DigitalMarketing.dll
Contact group edit dialog.
[UIPageLocation(PageLocationEnum.Dialog)]
[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class ContactGroupEditDialog : InfoEditPage<ContactGroupInfo>, IPage
- Inheritance
-
objectContactGroupEditDialog
- Implements
- Inherited Members
- Extension Methods
Constructors
ContactGroupEditDialog(IFormComponentMapper, IFormDataBinder, IInfoProvider<ContactGroupInfo>)
Initializes an instance of the ContactGroupEditDialog class.
public ContactGroupEditDialog(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IInfoProvider<ContactGroupInfo> contactGroupInfoProvider)
Parameters
formComponentMapper
IFormComponentMapperformDataBinder
IFormDataBindercontactGroupInfoProvider
IInfoProvider<ContactGroupInfo>
Properties
ObjectId
ID of a contact group.
[PageParameter(typeof(IntPageModelBinder))]
public override int ObjectId { get; set; }
Property Value
- int
Methods
ConfigurePage()
Set up page's configuration. Configures the submit action.
public override Task ConfigurePage()
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.
GetInfoObject(CancellationToken?)
Gets contact group info object, if it is not a recipient list.
protected override Task<ContactGroupInfo> GetInfoObject(CancellationToken? cancellationToken = null)
Parameters
cancellationToken
CancellationToken?The cancellation instruction.
Returns
- Task<ContactGroupInfo>
SetFormData(ContactGroupInfo, IFormFieldValueProvider)
Sets the infoObject
.
protected override Task SetFormData(ContactGroupInfo infoObject, IFormFieldValueProvider fieldValueProvider)
Parameters
infoObject
ContactGroupInfoInfo object to be set.
fieldValueProvider
IFormFieldValueProviderProvider of form field values.
Returns
- Task