alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class ToolBarItemBase

    Provides a base class for toolbar items with common functionality and properties.

    Inheritance
    System.Object
    ToolBarItemBase
    ResponseToolBarItem
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.WinForms.AIAssistView
    Assembly: Syncfusion.SfAIAssistView.WinForms.dll
    Syntax
    public class ToolBarItemBase : Object, INotifyPropertyChanged

    Constructors

    ToolBarItemBase()

    Declaration
    public ToolBarItemBase()

    Properties

    Alignment

    Gets or sets the alignment of the toolbar item with in the container.

    Declaration
    public ToolBarItemAlignment Alignment { get; set; }
    Property Value
    Type
    ToolBarItemAlignment

    CustomPaint

    Gets or sets a GDI+ delegate used for custom rendering of the toolbar item.

    Declaration
    public Action<Graphics, Rectangle> CustomPaint { get; set; }
    Property Value
    Type
    System.Action<System.Drawing.Graphics, System.Drawing.Rectangle>

    Icon

    Gets or sets the graphical representation (icon) for the toolbar item.

    Declaration
    public Image Icon { get; set; }
    Property Value
    Type
    System.Drawing.Image

    IsVisible

    Gets or sets a value indicating whether the toolbar item is visible in the UI.

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

    Name

    Gets or sets the name identity of the toolbar item.

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    System.String

    Text

    Gets or sets the accessible label or display text for the toolbar item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    ToolTip

    Gets or sets the text displayed when the mouse hovers over the toolbar item.

    Declaration
    public string ToolTip { get; set; }
    Property Value
    Type
    System.String

    Methods

    OnPropertyChanged(PropertyChangedEventArgs)

    Raises the PropertyChanged event.

    Declaration
    protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.PropertyChangedEventArgs e

    The event data.

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved