Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ConsiderForOutline Method, GenericPartClass Class

Defines whether the part is considered when calculating the outline rectangle of a cell.

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

Syntax

protected internal virtual bool ConsiderForOutline( PartsRenderingClass pr );
Protected Friend Overridable Function ConsiderForOutline( ByVal pr As PartsRenderingClass ) As Boolean

Parameters

pr

(not specified)

Return Value

True if the part should be considered and the outline rectangle should be outside this part, otherwise False. The default is True.

Comments

Defines whether the part is considered when calculating the outline rectangle of a cell.

The outline rectangle is determined by PartsRenderingClass.CalcOutline. By default, any part is considered when calculating the outline rectangle, except for a dropdown button (DropDownButtonPartClass) and a progressbar (ProgressBarPartClass).

See Also GenericPartClass Class | Classes | SftTree/NET 2.0