Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ConsiderForOutline Method, TextPartClass Class

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

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

Syntax

protected internal new bool ConsiderForOutline( PartsRenderingClass pr );
Protected Friend Overrides 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 TextPartClass Class | Classes | SftTree/NET 2.0