Show / Hide Table of Contents

Interface IApplicationMenuItem

Defines members that must be implemented for an instance that is set as DataContext of the ApplicationMenuItem.

Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public interface IApplicationMenuItem

Properties

View Source

Caption

Gets the caption.

Declaration
string Caption { get; }
Property Value
Type Description
string
View Source

Description

Gets the description.

Declaration
string Description { get; }
Property Value
Type Description
string
View Source

Icon

Gets the icon.

Declaration
object Icon { get; }
Property Value
Type Description
object
Remarks

This can be any object for which a template exists. You can directly use ModuleIconResourceKey to display one of the known icons. A Uri will be used as the Source of an image.

View Source

IconSource

Gets the icon source.

Declaration
[Obsolete("Use the Icon property instead!")]
Uri IconSource { get; }
Property Value
Type Description
Uri
View Source

ImageSource

Gets the image source.

Declaration
Uri ImageSource { get; }
Property Value
Type Description
Uri
Remarks

This is only used in the legacy design when using Sartorius.SAF.Skins.HID.

Methods

View Source

OnActivate()

Called when the ClickEvent of the ApplicationMenuItem is raised.

Declaration
void OnActivate()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX