Class QATCustomizeRibbonDialog
Interaction logic for QATCustomizeRibbonDialog.xaml
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class QATCustomizeRibbonDialog : Window, IDisposable, IComponentConnector
Constructors
QATCustomizeRibbonDialog()
Initializes a new instance of the QATCustomizeRibbonDialog class.
Declaration
public QATCustomizeRibbonDialog()
QATCustomizeRibbonDialog(IRibbonControl, Int32, Int32, Int32)
Initializes a new instance of the QATCustomizeRibbonDialog class with the specified ribbon control and indices.
Sets the DataContext to the current instance and subscribes to the Loaded event.
Declaration
public QATCustomizeRibbonDialog(IRibbonControl ribbonControl, int tabIndex, int barIndex, int itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| IRibbonControl | ribbonControl | The ribbon control associated with the dialog. |
| System.Int32 | tabIndex | The index of the tab to be customized. |
| System.Int32 | barIndex | The index of the bar within the tab. |
| System.Int32 | itemIndex | The index of the item within the bar. |
QATCustomizeRibbonDialog(RibbonBars, Int32, Int32)
Initializes a new instance of the QATCustomizeRibbonDialog class with the specified ribbon control and indices.
Declaration
public QATCustomizeRibbonDialog(RibbonBars bar, int tabIndex, int barIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonBars | bar | The ribbon bar associated . |
| System.Int32 | tabIndex | The index of the tab to be customized. |
| System.Int32 | barIndex | The index of the bar within the tab. |
QATCustomizeRibbonDialog(RibbonTabs, Int32)
Initializes a new instance of the QATCustomizeRibbonDialog class with the specified ribbon control and indices.
Declaration
public QATCustomizeRibbonDialog(RibbonTabs tab, int tabIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonTabs | tab | The ribbon tab associated with the dialog. |
| System.Int32 | tabIndex | The index of the tab to be customized. |
Properties
DisplayName
Gets or sets the display name associated with the object.
Declaration
public string DisplayName { get; set; }
Property Value
| Type |
|---|
| System.String |
Methods
Dispose()
Releases resources used by the object and unsubscribes from the Loaded event.
Declaration
public void Dispose()
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate.
Subscribes to the Loaded event to perform additional setup after the control's template is applied.
Declaration
public override void OnApplyTemplate()