Class ModuleIconExtension
Defines a System.
Inheritance
Namespace: Sartorius.SAF.Presentation.Controls.Markup
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ModuleIconExtension : WpfResourceMarkupExtensionBase<Style, ModuleIconResourceKey>
Remarks
When using a System.
Examples
This example illustrates how to use the Module
<ContentControl Style="{SAF:ModuleIcon Administration}" />
Constructors
View SourceModuleIconExtension(ModuleIconResourceKey)
Creates a new instance of the Icon
Declaration
public ModuleIconExtension(ModuleIconResourceKey resourceKey)
Parameters
Type | Name | Description |
---|---|---|
Module |
resourceKey | The resource key. |
Methods
View SourceProvideValue(IServiceProvider)
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System. |
serviceProvider | A service provider helper that can provide services for the markup extension. |
Returns
Type | Description |
---|---|
System. |
The object value to set on the property where the extension is applied. |