Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

HighlightPart Method, PartsRenderingClass Class

Highlights the part.

Class: PartsRenderingClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public void HighlightPart(
    StrategyClass strat,
    GenericPartClass gp,
    Rectangle rArea );
Public Sub HighlightPart(
    ByVal strat As StrategyClass,
    ByVal gp As GenericPartClass,
    ByVal rArea As Rectangle )

Parameters

strat

Defines the StrategyClass object used.

gp

Defines the part object to highlight.

rArea

Defines the area used by the part.

Comments

Highlights the part.

When designing a cell using the property pages, the current cell part being edited can be highlighted. The actual highlight can be rendered by any part using the HighlightPart method.

The part is only highlighted if requested by the caller (strat.reason is StrategyReasonEnum.Paint and strat.HighlightPart is equal to the requested part gp).

See Also PartsRenderingClass Class | Classes | SftTree/NET 2.0



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.