RibbonBarPopup
This class represents the popup which is displayed when a collapsed tab is selected in the RadRibbonBar control.
Definition
Namespace:Telerik.WinControls.UI.RibbonBar
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RibbonBarPopup : RadPopupControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPopupControl
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadPopupControlBaseRibbonBarPopup...
Implements:
Inherited Members
Constructors
Creates an instance of the RibbonBarPopup class.
Properties
Gets a boolean value indicating whether the ribbon popup is shown.
public bool IsPopupShown { get; }
Gets the RadRibbonBar type name for theme lookup. The setter forwards its value to the base popup, but the getter continues to return the RibbonBar type name.
public override string ThemeClassName { get; set; }
Overrides:
Methods
Keeps the popup open over the tab strip except during an application-focus change, or over a zoom popup or drop-down menu; otherwise uses the base close rules.
public override bool CanClosePopup(RadPopupCloseReason reason)
The reason the popup may close.
Returns:Overrides:
Closes the popup and marks IsPopupShown as false after the base close operation.
public override void ClosePopup(RadPopupCloseReason reason)
The reason the popup is closing.
Overrides:
Determines whether this popup supplies the theme for an element, including supported controls nested in drop-down editors.
public override bool ControlDefinesThemeForElement(RadElement element)
The element whose theme ownership is being checked.
Returns:true when the popup defines the element's theme; otherwise, false.
Overrides:
Places the popup at the alignment rectangle's origin without applying a screen-specific correction.
Close the popup upon mouse click unless the user has clicked on a RadElement that opens another popup.
Forwards screen-tip requests to the owning RibbonBar when its control implements IComponentTreeHandler.
protected override void OnScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
Overrides:
Applies a rounded region to match the popup's rounded corners after its size changes.
protected override void OnSizeChanged(EventArgs e)
The event data.
Overrides:
Forwards tooltip-text requests to the owning RibbonBar when its control implements IComponentTreeHandler.
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Overrides:
Declines focus requests rather than routing focus through this popup.
protected override bool ProcessFocusRequested(RadElement element)
The element requesting focus.
Returns:Overrides:
Shows the popup and marks IsPopupShown as true after the base show operation.
public override void ShowPopup(Rectangle alignmentRectangle)
The rectangle used to position the popup.
Overrides: