Class ApplicationMenuItem
Represents an item of the ApplicationMenu.
Inheritance
ApplicationMenuItem
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ApplicationMenuItem : ButtonBase, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, ICommandSource
Examples
This example illustrates how to use the ApplicationMenuItem.
Fields
View SourceCaptionProperty
The DependencyProperty for the Caption property.
Declaration
public static readonly DependencyProperty CaptionProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
DescriptionProperty
The DependencyProperty for the Description property.
Declaration
public static readonly DependencyProperty DescriptionProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
IconProperty
Identifies the DependencyProperty for the Icon property.
Declaration
public static readonly DependencyProperty IconProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
IconSourceProperty
The DependencyProperty for the IconSource property.
Declaration
public static readonly DependencyProperty IconSourceProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
ImageSourceProperty
The DependencyProperty for the ImageSource property.
Declaration
public static readonly DependencyProperty ImageSourceProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceCaption
Gets or sets the caption.
Declaration
public string Caption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Gets or sets the description.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Icon
Gets or sets the icon.
Declaration
public object Icon { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
IconSource
Gets or sets the source of the icon.
Declaration
[Obsolete("Use Icon property instead.")]
public Uri IconSource { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
ImageSource
Gets or sets the source of the image.
Declaration
public Uri ImageSource { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
Remarks
This is only used in the legacy design when using Sartorius.SAF.Skins.HID.