menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ToolbarSettings - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ToolbarSettings

    Class which represents the toolbar settings.

    Inheritance
    System.Object
    ToolbarSettings
    Namespace: Syncfusion.UI.Xaml.ImageEditor
    Assembly: Syncfusion.SfImageEditor.UWP.dll
    Syntax
    public class ToolbarSettings : DependencyObject

    Constructors

    ToolbarSettings()

    Initializes a new instance of the ToolbarSettings class.

    Declaration
    public ToolbarSettings()

    Fields

    VisibleShapesItemsProperty

    Declaration
    public static readonly DependencyProperty VisibleShapesItemsProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    BackButton

    Gets or sets the back button for the toolbar menu.

    Declaration
    public ToolbarItem BackButton { get; set; }
    Property Value
    Type
    ToolbarItem

    Background

    Gets or sets the background color value for the toolbar.

    Declaration
    public SolidColorBrush Background { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.SolidColorBrush

    BorderColor

    Gets or sets the toolbar border color.

    Declaration
    public SolidColorBrush BorderColor { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.SolidColorBrush

    ColorPaletteCircleSize

    Gets or sets the color palette size. This property is used to customize the size of color palette while editing the text, path and shape using toolbar items.

    Declaration
    public double ColorPaletteCircleSize { get; set; }
    Property Value
    Type
    System.Double

    ColorPaletteItemSize

    Gets or sets the color palette size. This property is used to customize the size of color palette while editing the text, path and shape using toolbar items.

    Declaration
    public double ColorPaletteItemSize { get; set; }
    Property Value
    Type
    System.Double

    FooterToolbarHeight

    To get/set FooterToolbarHeight

    Declaration
    public double FooterToolbarHeight { get; set; }
    Property Value
    Type
    System.Double

    HeaderToolbarHeight

    To get/set HeaderToolbarHeight

    Declaration
    public double HeaderToolbarHeight { get; set; }
    Property Value
    Type
    System.Double

    IsToolbarVisiblity

    Gets or sets the visiblity of the Toolbar.

    Declaration
    public bool IsToolbarVisiblity { get; set; }
    Property Value
    Type
    System.Boolean

    ShowDeleteButton

    Gets or sets the visibility of delete button visibility of selected shape.

    Declaration
    public bool ShowDeleteButton { get; set; }
    Property Value
    Type
    System.Boolean

    SubItemToolbarHeight

    To get/set SubToolbarHeight

    Declaration
    public double SubItemToolbarHeight { get; set; }
    Property Value
    Type
    System.Double

    TextForegroundColor

    Gets or sets the foreground color for the text in the toolbar.

    Declaration
    public SolidColorBrush TextForegroundColor { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.Media.SolidColorBrush

    ToolbarItems

    Gets/Sets toolbar items value

    Declaration
    public ObservableCollection<ToolbarItem> ToolbarItems { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<ToolbarItem>

    VisibleShapesItems

    Declaration
    public ImageEditorShapes VisibleShapesItems { get; set; }
    Property Value
    Type
    ImageEditorShapes

    Methods

    add_ToolbarItemSelected(ToolbarItemSelectedEventHandler)

    Declaration
    public void add_ToolbarItemSelected(ToolbarItemSelectedEventHandler value)
    Parameters
    Type Name Description
    ToolbarItemSelectedEventHandler value

    OnToolbarItemSelected(Object, ToolbarItemSelectedEventArgs)

    Method gets called to invoke the ToolbarItemSelected event when toolbar item gets selected.

    Declaration
    public void OnToolbarItemSelected(object sender, ToolbarItemSelectedEventArgs args)
    Parameters
    Type Name Description
    System.Object sender

    The image editor.

    ToolbarItemSelectedEventArgs args

    The toolbar item selected event arguments.

    remove_ToolbarItemSelected(ToolbarItemSelectedEventHandler)

    Declaration
    public void remove_ToolbarItemSelected(ToolbarItemSelectedEventHandler value)
    Parameters
    Type Name Description
    ToolbarItemSelectedEventHandler value

    Events

    ToolbarItemSelected

    Event gets called when the toolbar item gets selected.

    Declaration
    public event ToolbarItemSelectedEventHandler ToolbarItemSelected
    Event Type
    Type
    ToolbarItemSelectedEventHandler

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved