Class InnerPopupToolBar
Represents a popup control that contains a ToolBar as its content.
public class InnerPopupToolBar : PopupControl<ToolBar>, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo, IContextMenuHost
- Inheritance
-
InnerPopupToolBar
- Implements
Constructors
- InnerPopupToolBar()
Initializes a new instance of the InnerPopupToolBar class.
Properties
- CloseOnSiblingClose
Gets or sets a value indicating whether this popup should close when a sibling popup is closed.
- Default
Gets or sets default instance of the InnerPopupToolBar.
- HideOnClickOutside
Gets or sets a value indicating whether the popup should be hidden when a click occurs outside of it.
- IsLabelTextWidthMaximized
Gets or sets a value indicating whether the label text width is maximized. When set to
true, the control will adjust the width of the label text to be the same for all toolbar items, based on the widest label text.
- IsRightSideElementWidthMaximized
Gets or sets a value indicating whether the width of the right-side element is maximized.
- NeedsRemainingImages
Gets or sets a value indicating whether the remaining images are required for the toolbar items. When set to
true, the control will ensure that all images are assigned. For items without a specific image, a default transparent image will be used.
- NeedsRemainingLabelImages
Gets or sets a value indicating whether the remaining label images are required for the toolbar items. When set to
true, the control will ensure that all label images are assigned. For items without a specific label image, a default transparent image will be used.
- RelatedControl
Gets or sets the source control that called the popup.
- SuppressKeyDown
Gets or sets a value indicating whether key down event for the controls which are not children of the popup control should be suppressed.
- SuppressKeyPress
Gets or sets a value indicating whether key press event for the controls which are not children of the popup control should be suppressed.
- SuppressParentMouse
Gets or sets a value indicating whether mouse events should be suppressed for the parent control.
- SuppressParentMouseDown
Gets or sets a value indicating whether the parent control's mouse down events should be suppressed when this control is visible.
- SuppressParentMouseUp
Gets or sets a value indicating whether the parent control's mouse up events should be suppressed when this control is visible.
Methods
- Close(PopupCloseReason?)
Closes popup window and raises Closed event.
- CloseSiblings()
Closes sibling toolbars that are configured to close when a sibling is closed.
- DisposeManaged()
Override to dispose managed resources. Here we dispose all used object references.
- GetPreferredSize(PreferredSizeContext)
Retrieves the size of a rectangular area into which a control can be fitted, in device-independent units.
- HideWhenSiblingHidden(AbstractControl)
Determines whether the current control should be hidden when a specified sibling control is hidden. HideOnSiblingHide must be set to true for this method to be called.
- HideWhenSiblingShown(AbstractControl)
Determines whether the current control should be hidden when a specified sibling control is shown. HideOnSiblingShow must be set to true for this method to be called.
- OnParentChanged(EventArgs)
Called when Parent property is changed.
- OnSiblingVisibleChanged(AbstractControl)
Handles the event triggered when the visibility of a sibling control changes.
- OnToolClick(object?, EventArgs)
Handles the event when a tool is clicked.
- OnVisibleChanged(EventArgs)
Called when the value of the Visible property changes.
- UpdateMinimumSize()
Updates the minimum size of the control based on its content and layout requirements.