Class
RibbonUICommand

RibbonUI Commands Wrapper. Use this class to encapsulate all UI information for the ribbon bar

Definition

Namespace:ArtOfTest.Common.Design.UI

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public class RibbonUICommand : RoutedUICommand, ICommand, INotifyPropertyChanged

Inheritance: objectRoutedCommandRoutedUICommandRibbonUICommand

Implements: ICommandINotifyPropertyChanged

Inherited Members RoutedUICommand.TextRoutedCommand.Execute(object, IInputElement)RoutedCommand.CanExecute(object, IInputElement)RoutedCommand.NameRoutedCommand.OwnerTypeRoutedCommand.InputGesturesRoutedCommand.CanExecuteChanged

Constructors

RibbonUICommand(string, Type)

Declaration

cs-api-definition
public RibbonUICommand(string name, Type ownerType)

Parameters

name

string

ownerType

Type

Properties

Description

Declaration

cs-api-definition
public string Description { get; set; }

Property Value

string

ImageSource

The image source for the UICommand

Declaration

cs-api-definition
public string ImageSource { get; set; }

Property Value

string

Title

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

View

Declaration

cs-api-definition
public UIWindowsContext View { get; set; }

Property Value

UIWindowsContext

Visibility

Declaration

cs-api-definition
public Visibility Visibility { get; set; }

Property Value

Visibility

Methods

OnPropertyChanged(string)

Declaration

cs-api-definition
protected void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

ToString()

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged