Class QATCustomizationDialog
Represents a QATCustomizationDialog window.
Inheritance
Implements
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class QATCustomizationDialog : Control, IDisposable, INotifyPropertyChanged
Remarks
QATCustomizationDialog class represents a window that is displayed over the Ribbon for customization of QuickAccess toolbar items.
Examples
This example shows how to create a ButtonPanel in C#.
QATCustomizationDialog dialog = new QATCustomizationDialog(IsQATBelow, SkinStorage.GetVisualStyle(this), m_blendColor, this);
dialog.ShowDialog();
Fields
baseStyle
Store the base style of the skin.
Declaration
public static bool baseStyle
Field Value
| Type |
|---|
| System.Boolean |
currentSkin
Store the Base Skin
Declaration
public static string currentSkin
Field Value
| Type |
|---|
| System.String |
CustomBrushProperty
Customize dialog skin brush.
Declaration
public static readonly DependencyProperty CustomBrushProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
CustomBrushPropertyKey
Background brush.
Declaration
protected static readonly DependencyPropertyKey CustomBrushPropertyKey
Field Value
| Type |
|---|
| System.Windows.DependencyPropertyKey |
VisualStyleProperty
Color scheme name.
Declaration
public static readonly DependencyProperty VisualStyleProperty
Field Value
| Type |
|---|
| System.Windows.DependencyProperty |
VisualStylePropertyKey
Protection property key.
Declaration
protected static readonly DependencyPropertyKey VisualStylePropertyKey
Field Value
| Type |
|---|
| System.Windows.DependencyPropertyKey |
Properties
CustomBrush
Gets or sets the value of the custom color scheme brush.
Declaration
protected Brush CustomBrush { get; set; }
Property Value
| Type |
|---|
| System.Windows.Media.Brush |
VisualStyle
Gets the visual style.
Declaration
protected string VisualStyle { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The visual style. |
Methods
Dispose()
Releases resources used by the dialog, including event handlers and UI components.
Declaration
public void Dispose()
OnApplyTemplate()
Invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate. Removes event handlers from template parts to ensure proper cleanup.
Declaration
public override void OnApplyTemplate()
OnKeyDown(KeyEventArgs)
Raises the KeyDown event.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Input.KeyEventArgs | e | A KeyEventArgs that contains the event data. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Called when a dependency property on the control changes.
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | e | The event data containing information about the property change. |
ResetAll(ResetTabInfo[])
Resets all ribbon tabs based on the specified tab order information.
Declaration
public void ResetAll(ResetTabInfo[] tabOrder)
Parameters
| Type | Name | Description |
|---|---|---|
| ResetTabInfo[] | tabOrder | An array of ResetTabInfo objects that define the desired order of ribbon tabs. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |