Table of Contents

Class FormComponentCommandAttribute

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

Annotates methods of form components which are invocable as commands.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class FormComponentCommandAttribute : Attribute
Inheritance
object
Attribute
FormComponentCommandAttribute
Extension Methods

Constructors

FormComponentCommandAttribute()

public FormComponentCommandAttribute()

Properties

CommandName

Name of the form component command. The name has to be unique within the component.

public string CommandName { get; set; }

Property Value

string

Remarks

The annotated method name is used as the default command name.