WinForms › Power Tab Strip › BinaryPowerTabPageDesigner
BinaryPowerTabPageDesigner
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.TabControls.Designers
Design-time support for a single tab page: it hides the inherited properties that do not apply to a page inside a tab strip.
public class BinaryPowerTabPageDesigner : ParentControlDesigner
Inherits from / implements: ParentControlDesigner
Members at a glance
CanBeParentedTo | Reports whether this page may be dropped onto the given parent, which keeps a tab page from being dragged anywhere but into a tab strip. |
Initialize | Attaches this designer to the control instance it is designing. |
OnPaintAdornments | Raises the PaintAdornments event. BinaryPowerTabPageDesigner overrides it so the control's own handling runs alongside the base behavior. |
PreFilterProperties | Removes from the property grid the inherited properties that do not apply to this control. |
Methods
CanBeParentedTo
public override bool CanBeParentedTo(IDesigner parentDesigner)
Reports whether this page may be dropped onto the given parent, which keeps a tab page from being dragged anywhere but into a tab strip.
- parentDesigner
- The designer of the intended parent.
Returns. true when the parent is a tab strip.
Initialize
public override void Initialize(IComponent component)
Attaches this designer to the control instance it is designing.
OnPaintAdornments
protected override void OnPaintAdornments(PaintEventArgs pe)
Raises the PaintAdornments event. BinaryPowerTabPageDesigner overrides it so the control's own handling runs alongside the base behavior.
- pe
- The data for the event.
PreFilterProperties
protected override void PreFilterProperties(System.Collections.IDictionary properties)
Removes from the property grid the inherited properties that do not apply to this control.