Class RibbonButton
Simplic studio basic ribbon button
Namespace: Simplic.Studio.UI.Navigation
Assembly: Simplic.Studio.UI.Navigation.dll
Syntax
public class RibbonButton : RadRibbonButton
Constructors
| Improve this Doc View SourceRibbonButton()
Initialize button
Declaration
public RibbonButton()
RibbonButton(ILocalizationService, IIconService)
Initialize button
Declaration
public RibbonButton(ILocalizationService localizationService, IIconService iconService)
Parameters
Type | Name | Description |
---|---|---|
ILocalizationService | localizationService | Localization service instance |
IIconService | iconService | Icon service instance |
Fields
| Improve this Doc View SourceIsInDeveloperModeProperty
Is in developer mode dependency property
Declaration
public static readonly DependencyProperty IsInDeveloperModeProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
LargeIconNameProperty
Large icon dependency property
Declaration
public static readonly DependencyProperty LargeIconNameProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
SmallIconNameProperty
Small icon dependency property
Declaration
public static readonly DependencyProperty SmallIconNameProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
TextLocalizationKeyProperty
Text localization key dependency property
Declaration
public static readonly DependencyProperty TextLocalizationKeyProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
TooltipLocalizationKeyProperty
Tooltip localization key dependency property
Declaration
public static readonly DependencyProperty TooltipLocalizationKeyProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
| Improve this Doc View SourceIsInDeveloperMode
Gets or sets whether the button is in developer mode
Declaration
public bool IsInDeveloperMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LargeIconName
Gets or set sthe large icon name
Declaration
public string LargeIconName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SmallIconName
Gets or sets the small icon name
Declaration
public string SmallIconName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TextLocalizationKey
Gets or sets the localization key for the Text property
Declaration
public string TextLocalizationKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TooltipLocalizationKey
Gets or sets the localization key for the Tooltip property
Declaration
public string TooltipLocalizationKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnDeveloperModeChanged(Boolean, Boolean)
Developer mode changed handler
Declaration
protected virtual void OnDeveloperModeChanged(bool newValue, bool oldValue)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | newValue | New value |
System.Boolean | oldValue | Old value |