Commands View Styling
The Commands View of the AIPrompt control provides the following customization properties:
-
CommandStyle
(Style
)—Defines the style that is to be applied to the AIPrompt command. -
CommandGroupStyle
(Style
)—Defines the style that is to be applied to theRadExpander
representing an AIPrompt command group.
The following example demonstrates how to modify the commands' appearance:
1. Add Style
properties with TargetType
set to AIPromptCommandItemView
for each command representation and AIPromptCommandGroupView
for a command group to the page's resources:
2. Add the RadAIPrompt
control with CommandStyle
and CommandGroupStyle
properties applied:
Here is the result after applying the CommandStyle
and CommandGroupStyle
: