Table of Contents

Class ConditionBuilderComponent

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Represents a condition builder form component.

[ComponentAttribute(typeof(ConditionBuilderComponentAttribute))]
public sealed class ConditionBuilderComponent : FormComponent<ConditionBuilderProperties, ConditionBuilderClientProperties, string>, IFormComponent, IFormItem<IFormComponentClientProperties>, IFormItem
Inheritance
object
ConditionBuilderComponent
Implements
Inherited Members
Extension Methods

Constructors

ConditionBuilderComponent(ILocalizationService, IAuthenticatedUserAccessor)

Creates a new instance of ConditionBuilderComponent.

public ConditionBuilderComponent(ILocalizationService localizationService, IAuthenticatedUserAccessor authenticatedUserAccessor)

Parameters

localizationService ILocalizationService
authenticatedUserAccessor IAuthenticatedUserAccessor

Fields

IDENTIFIER

Represents the ConditionBuilderComponent identifier.

public const string IDENTIFIER = "Kentico.Administration.ConditionBuilder"

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(ConditionBuilderClientProperties)

Configures the form component client properties.

protected override Task ConfigureClientProperties(ConditionBuilderClientProperties clientProperties)

Parameters

clientProperties ConditionBuilderClientProperties

The current instance of the form component client properties.

Returns

Task

Remarks

Override this method in order to configure form component client properties.

ConfigureComponent()

Configures the form component. This method is called when all form component properties are set.

protected override void ConfigureComponent()

Remarks

Override this method to set component inner state, like additional component validation rules.

GetMacro(SelectedConditionTree)

Command that converts SelectedConditionTree to its string representation.

public Task<ICommandResponse> GetMacro(SelectedConditionTree conditiontree)

Parameters

conditiontree SelectedConditionTree

Returns

Task<ICommandResponse>