New to Telerik UI for WPFStart a free 30-day trial

A style selector that returns a different style depending on whether the underlying object is a AIPromptCommandGroup or AIPromptCommand.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

C#
public class CommandsPanelBarItemContainerStyleSelector : StyleSelector

Inheritance: objectCommandsPanelBarItemContainerStyleSelector

Constructors

C#
public CommandsPanelBarItemContainerStyleSelector()

Properties

Gets or sets the style for item that is a AIPromptCommandGroup.

C#
public Style AIPromptCommandGroupStyle { get; set; }

Gets or sets the style for item that is a AIPromptCommand.

C#
public Style AIPromptCommandStyle { get; set; }

Methods

C#
public override Style SelectStyle(object item, DependencyObject container)
Parameters:itemobjectcontainerDependencyObjectReturns:

Style