BinaryPowerTabPageDesigner
Visual Studio designer support for a BinaryPowerTabPage: lets controls be dropped onto
the page, keeps the page inside a tab strip, and hides the inherited properties the strip manages
itself.
public class BinaryPowerTabPageDesigner : ParentControlDesigner
Inherits from / implements: ParentControlDesigner
Remarks
Applied to BinaryPowerTabPage by its
DesignerAttribute; there is no need to use it from
code.
Members at a glance
| Methods | |
|---|---|
CanBeParentedTo | Allows the page to be dropped only onto a BinaryPowerTabStrip. |
Initialize | Attaches the designer to the page being designed. |
OnPaintAdornments | Draws a dashed outline round the page on the design surface, so its edges can be seen. |
PreFilterProperties | Removes from the property grid the inherited properties the strip sets for its pages, or that do not
apply to a page – among them Dock, Location, Padding, Margin,
Font, AutoScroll, AutoSize and BorderStyle. |
Methods
CanBeParentedTo
Allows the page to be dropped only onto a BinaryPowerTabStrip.
Parameters
parentDesigner- The designer of the intended parent.
Returns
true when the parent is a tab strip.
Initialize
Attaches the designer to the page being designed.
Parameters
component- The page.
OnPaintAdornments
Draws a dashed outline round the page on the design surface, so its edges can be seen.
Parameters
pe- The event data.
PreFilterProperties
Removes from the property grid the inherited properties the strip sets for its pages, or that do not
apply to a page – among them Dock, Location, Padding, Margin,
Font, AutoScroll, AutoSize and BorderStyle.
Parameters
properties- The properties to filter.