WinForms

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

    Show / Hide Table of Contents

    Class MiniToolBar

    Inheritance
    System.Object
    MiniToolBar
    Implements
    IThemeProvider
    IVisualStyle
    System.Windows.Forms.IMessageFilter
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class MiniToolBar : ToolStripDropDown, IThemeProvider, IVisualStyle, IMessageFilter

    Constructors

    MiniToolBar()

    Declaration
    public MiniToolBar()

    Properties

    AssociatedControl

    Gets or sets the control which is associated with MiniToolBar

    Declaration
    public Control AssociatedControl { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Control

    CanApplyTheme

    Gets or sets a value indicating whether a SkinManager theme style has been applied to the control.

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

    The default value is true.

    CanOverrideStyle

    Gets or sets a value indicating whether control elements styles can be overridden by theme style settings.

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

    Default value is false.

    Remarks

    By default, the control's element styles will not be overridden by theme style settings if the style is set in sample level. If this property is enabled, element style will be overridden by theme style settings event if it is set in sample level. This property should be enabled or disabled before calling the ThemeName property of the control.

    ColorScheme

    Gets or sets the color scheme used for painting

    Declaration
    public ToolStripEx.ColorScheme ColorScheme { get; set; }
    Property Value
    Type Description
    ToolStripEx.ColorScheme

    DropShadowEnabled

    Gets or sets a value indicating whether hides unused property of the base class

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

    IsVisualStyleEnabled

    Gets a value indicating whether the visual style based theme is applied to the control. This also indicates whether the theme files are referred from external assemblies or not.

    Declaration
    public bool IsVisualStyleEnabled { get; }
    Property Value
    Type Description
    System.Boolean

    Return true, if the visual style based theme is applied to control. Otherwise returns false.

    LayoutEngine

    Gets a cached instance of the control's layout engine.

    Declaration
    public override LayoutEngine LayoutEngine { get; }
    Property Value
    Type Description
    System.Windows.Forms.Layout.LayoutEngine

    LayoutStyle

    Gets or sets the hides unused property of the base class

    Declaration
    public ToolStripLayoutStyle LayoutStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.ToolStripLayoutStyle

    Opacity

    Gets or sets the opacity of minitoolbar

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

    Style

    Gets or sets an advanced appearance for the MiniToolBar.

    Declaration
    public ToolStripExStyle Style { get; set; }
    Property Value
    Type Description
    ToolStripExStyle

    ThemeName

    Gets or sets the theme name of the MiniToolBar control.

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

    ThemeStyle

    Declaration
    public ToolStripExStyleInfo ThemeStyle { get; set; }
    Property Value
    Type Description
    ToolStripExStyleInfo

    Methods

    GetActiveThemeName()

    Declaration
    public string GetActiveThemeName()
    Returns
    Type Description
    System.String

    GetPreferredSize(Size)

    Retrieves the size of a rectangular area into which a control can be fitted.

    Declaration
    public override Size GetPreferredSize(Size proposedSize)
    Parameters
    Type Name Description
    System.Drawing.Size proposedSize

    Proposed Size

    Returns
    Type Description
    System.Drawing.Size

    Returns the size of a rectangular area into which a control can be fitted.

    OnHandleCreated(EventArgs)

    Declaration
    protected override void OnHandleCreated(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnLayout(LayoutEventArgs)

    Declaration
    protected override void OnLayout(LayoutEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs e

    OnOpening(CancelEventArgs)

    Declaration
    protected override void OnOpening(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e

    OnRightToLeftChanged(EventArgs)

    Declaration
    protected override void OnRightToLeftChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnVisibleChanged(EventArgs)

    Declaration
    protected override void OnVisibleChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    ShowMiniToolbarOnSelection(Boolean)

    Declaration
    public void ShowMiniToolbarOnSelection(bool show)
    Parameters
    Type Name Description
    System.Boolean show

    Events

    ThemeNameChanged

    Occurs when theme name of the MiniToolBar has changed.

    Declaration
    public event ThemeChangedEventHandler ThemeNameChanged
    Event Type
    Type Description
    ThemeChangedEventHandler

    Explicit Interface Implementations

    IVisualStyle.VisualTheme

    Gets or sets the VisualTheme of the MiniToolBar control.

    Declaration
    string IVisualStyle.VisualTheme { get; set; }
    Returns
    Type Description
    System.String

    IThemeProvider.BaseThemeName

    Gets or sets the BaseTheme name of the theme

    Declaration
    string IThemeProvider.BaseThemeName { get; set; }
    Returns
    Type Description
    System.String

    IThemeProvider.ControlName

    Gets the name of the control.

    Declaration
    string IThemeProvider.ControlName { get; }
    Returns
    Type Description
    System.String

    Implements

    IThemeProvider
    IVisualStyle
    System.Windows.Forms.IMessageFilter
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved