Class ToolbarSettings
Holds the settings to customize the toolbar in the SfImageEditor.
Inheritance
Namespace: Syncfusion.UI.Xaml.ImageEditor
Assembly: Syncfusion.SfImageEditor.WPF.dll
Syntax
public class ToolbarSettings : DependencyObject
Constructors
ToolbarSettings()
Gets or sets a new instance of the ToolbarSettings class.
Declaration
public ToolbarSettings()
Fields
BackgroundProperty
The DependencyProperty for Background property.
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderColorProperty
The DependencyProperty for BorderColor property.
Declaration
public static readonly DependencyProperty BorderColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
BorderThicknessProperty
The DependencyProperty for BorderThickness property.
Declaration
public static readonly DependencyProperty BorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FooterToolbarHeightProperty
The DependencyProperty for FooterToolbarHeight property.
Declaration
public static readonly DependencyProperty FooterToolbarHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
HeaderToolbarHeightProperty
The DependencyProperty for HeaderToolbarHeight property.
Declaration
public static readonly DependencyProperty HeaderToolbarHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsToolbarVisiblityProperty
The DependencyProperty for IsToolbarVisiblity property.
Declaration
public static readonly DependencyProperty IsToolbarVisiblityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SubItemToolbarHeightProperty
The DependencyProperty for SubItemToolbarHeight property.
Declaration
public static readonly DependencyProperty SubItemToolbarHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ToolbarItemsProperty
The DependencyProperty for ToolbarItems property.
Declaration
public static readonly DependencyProperty ToolbarItemsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Background
Gets or sets the background for the toolbar.
Declaration
public SolidColorBrush Background { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
BorderColor
Gets or sets the border color for the toolbar.
Declaration
public SolidColorBrush BorderColor { get; set; }
Property Value
Type |
---|
System.Windows.Media.SolidColorBrush |
BorderThickness
Gets or sets the thickness for the toolbar border.
Declaration
public Thickness BorderThickness { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
FooterToolbarHeight
Gets or sets the height of the footer toolbar.
Declaration
public double FooterToolbarHeight { get; set; }
Property Value
Type |
---|
System.Double |
HeaderToolbarHeight
Gets or sets the height of the header toolbar.
Declaration
public double HeaderToolbarHeight { get; set; }
Property Value
Type |
---|
System.Double |
IsToolbarVisiblity
Gets or sets the value indicating whether to display the toolbar or not.
Declaration
public bool IsToolbarVisiblity { get; set; }
Property Value
Type |
---|
System.Boolean |
SubItemToolbarHeight
Gets or sets the height of the sub toolbar.
Declaration
public double SubItemToolbarHeight { get; set; }
Property Value
Type |
---|
System.Double |
ToolbarItems
Gets or sets the items to be displayed at the center of the header toolbar.
Declaration
public ObservableCollection<ToolbarItem> ToolbarItems { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<ToolbarItem> |
Events
ToolbarItemSelected
Invoked when the item in the toolbar gets selected.
Declaration
public event EventHandler<ToolbarItemSelectedEventArgs> ToolbarItemSelected
Event Type
Type |
---|
System.EventHandler<ToolbarItemSelectedEventArgs> |