New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring PropertyGridContextMenuSettingsBody

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class PropertyGridContextMenuSettingsBodyBuilder<T> where T : class

Inheritance: objectPropertyGridContextMenuSettingsBodyBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

PropertyGridContextMenuSettingsBodyBuilder method.

C#
public PropertyGridContextMenuSettingsBodyBuilder(PropertyGridContextMenuSettingsBody<T> container)
Parameters:containerPropertyGridContextMenuSettingsBody<T>

Properties

Gets or sets the Container.

C#
protected PropertyGridContextMenuSettingsBody<T> Container { get; }

Methods

Specifies the command of the item.

C#
public PropertyGridContextMenuSettingsBodyBuilder<T> Command(string value)
Parameters:valuestring

The value for Command

Returns:

PropertyGridContextMenuSettingsBodyBuilder<T>

Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.

Specifies the icon of the item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public PropertyGridContextMenuSettingsBodyBuilder<T> Icon(Action<PropertyGridContextMenuBodyIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<PropertyGridContextMenuBodyIconSettingsBuilder<T>>

The PropertyGridContextMenuBodyIconSettingsBuilder<T> for the icon setting.

Returns:

PropertyGridContextMenuSettingsBodyBuilder<T>

Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder<T> .

Specifies the icon of the item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public PropertyGridContextMenuSettingsBodyBuilder<T> Icon(string icon)
Parameters:iconstring

The icon.

Returns:

PropertyGridContextMenuSettingsBodyBuilder<T>

Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder<T> .

Specifies the name of the item.

C#
public PropertyGridContextMenuSettingsBodyBuilder<T> Name(string value)
Parameters:valuestring

The value for Name

Returns:

PropertyGridContextMenuSettingsBodyBuilder<T>

Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.

Specifies the text of the item.

C#
public PropertyGridContextMenuSettingsBodyBuilder<T> Text(string value)
Parameters:valuestring

The value for Text

Returns:

PropertyGridContextMenuSettingsBodyBuilder<T>

Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.