menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IBarRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IBarRenderer

    Inherited Members
    IKeyboardProcHookClient.KeyboardHookProc(Int32, Int32)
    IMouseHookHLProcClient.MouseHookProc(Int32, Point, IntPtr, Int32, Int32)
    INeedKeyboardMessages.KeyboardMessage(Message)
    INeedMouseMoveMessages.MouseMessage(Message)
    IPopupChild.HidePopup(PopupCloseType)
    IPopupChild.IsShowing()
    IPopupChild.PopupParent
    IPopupItem.GetPopupParentControl()
    IPopupItem.IsRelatedControl(Control, Boolean)
    IPopupParent.ChildClosing(IPopupChild, PopupCloseType)
    IPopupParent.GetBorderOverlapCue(PopupRelativeAlignment)
    IPopupParent.GetLocationForPopupAlignment(PopupRelativeAlignment, PopupRelativeAlignment)
    IPopupParent.IsRightToLeft
    System.IDisposable.Dispose()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface IBarRenderer : IPopupChild, INeedKeyboardMessages, INeedMouseMoveMessages, IMouseHookHLProcClient, IKeyboardProcHookClient, IPopupParent, IPopupItem, IDisposable

    Properties

    Alignment

    Declaration
    CommandBarDockState Alignment { get; set; }
    Property Value
    Type
    CommandBarDockState

    Bar

    Declaration
    Bar Bar { get; set; }
    Property Value
    Type
    Bar

    Bounds

    Declaration
    RectangleF Bounds { get; set; }
    Property Value
    Type
    System.Drawing.RectangleF

    Customizing

    Declaration
    bool Customizing { get; }
    Property Value
    Type
    System.Boolean

    DelayedPerformClickOnBarItem

    Declaration
    BarItem DelayedPerformClickOnBarItem { get; set; }
    Property Value
    Type
    BarItem

    DndCustomizing

    Declaration
    bool DndCustomizing { get; }
    Property Value
    Type
    System.Boolean

    HintViaHotKeyPrefix

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

    LargeIcons

    Declaration
    bool LargeIcons { get; }
    Property Value
    Type
    System.Boolean

    Style

    Declaration
    VisualStyle Style { get; set; }
    Property Value
    Type
    VisualStyle

    ThemesEnabled

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

    Methods

    CanStartKeyboardNavigation()

    Declaration
    bool CanStartKeyboardNavigation()
    Returns
    Type
    System.Boolean

    ComputeBarItemPositions(IGraphicsProvider)

    Declaration
    void ComputeBarItemPositions(IGraphicsProvider gp)
    Parameters
    Type Name Description
    IGraphicsProvider gp

    GetBarControl()

    Declaration
    IBarControl GetBarControl()
    Returns
    Type
    IBarControl

    GetBarItemBounds(Int32)

    Declaration
    Rectangle GetBarItemBounds(int i)
    Parameters
    Type Name Description
    System.Int32 i
    Returns
    Type
    System.Drawing.Rectangle

    GetFirstPopupAlignPreference()

    Declaration
    PopupRelativeAlignment GetFirstPopupAlignPreference()
    Returns
    Type
    PopupRelativeAlignment

    GetPreferredSize(IGraphicsProvider, ref SizeF)

    Declaration
    void GetPreferredSize(IGraphicsProvider gp, ref SizeF size)
    Parameters
    Type Name Description
    IGraphicsProvider gp
    System.Drawing.SizeF size

    HitTestBarItems(PointF)

    Declaration
    int HitTestBarItems(PointF mousePosition)
    Parameters
    Type Name Description
    System.Drawing.PointF mousePosition
    Returns
    Type
    System.Int32

    InvalidateCachedTextSizes()

    Declaration
    void InvalidateCachedTextSizes()

    IsKeyboardNavigationOn()

    Declaration
    bool IsKeyboardNavigationOn()
    Returns
    Type
    System.Boolean

    IsShowingDropdown()

    Declaration
    bool IsShowingDropdown()
    Returns
    Type
    System.Boolean

    Layout(IGraphicsProvider)

    Declaration
    void Layout(IGraphicsProvider gs)
    Parameters
    Type Name Description
    IGraphicsProvider gs

    OnDragDrop(DragEventArgs)

    Declaration
    void OnDragDrop(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs e

    OnDragLeave(EventArgs)

    Declaration
    void OnDragLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnDragOver(DragEventArgs)

    Declaration
    void OnDragOver(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    OnFormDeactivated()

    Declaration
    void OnFormDeactivated()

    OnGiveFeedback(GiveFeedbackEventArgs)

    Declaration
    void OnGiveFeedback(GiveFeedbackEventArgs gfbevent)
    Parameters
    Type Name Description
    System.Windows.Forms.GiveFeedbackEventArgs gfbevent

    OnMouseDown(MouseEventArgs)

    Declaration
    bool OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e
    Returns
    Type
    System.Boolean

    OnMouseLeave(EventArgs)

    Declaration
    void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    Declaration
    void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseWheel(MouseEventArgs)

    Declaration
    void OnMouseWheel(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnPaint(Graphics, Rectangle)

    Declaration
    void OnPaint(Graphics g, Rectangle clipRect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle clipRect

    ProcessCmdKey(ref Message, Keys)

    Declaration
    bool ProcessCmdKey(ref Message msg, Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    System.Windows.Forms.Keys keyData
    Returns
    Type
    System.Boolean

    ProcessMnemonic(Char)

    Declaration
    bool ProcessMnemonic(char charCode)
    Parameters
    Type Name Description
    System.Char charCode
    Returns
    Type
    System.Boolean

    ProcessShortcut(Char)

    Declaration
    bool ProcessShortcut(char c)
    Parameters
    Type Name Description
    System.Char c
    Returns
    Type
    System.Boolean

    RemoveRenderer(IBarItemRenderer)

    Declaration
    void RemoveRenderer(IBarItemRenderer renderer)
    Parameters
    Type Name Description
    IBarItemRenderer renderer

    SetHotTrack(BarItemRenderer, Boolean)

    Declaration
    void SetHotTrack(BarItemRenderer renderer, bool hotTrack)
    Parameters
    Type Name Description
    BarItemRenderer renderer
    System.Boolean hotTrack

    StartKeyboardNavigation()

    Declaration
    void StartKeyboardNavigation()

    StopKeyboardNavigation()

    Declaration
    void StopKeyboardNavigation()

    UpdateRenderers()

    Declaration
    void UpdateRenderers()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved