Xceed Grid for WinForms v4.3 Documentation
TitlePosition Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > SummaryCell Class : TitlePosition Property
Gets or sets the position of the SummaryCell's Title.
Syntax
'Declaration
 
<DescriptionAttribute("The position of the SummaryCell's title.")>
<CategoryAttribute("Appearance")>
<LocalizableAttribute(True)>
<ApplyToDesignerAttribute(True)>
Public Property TitlePosition As TitlePosition
'Usage
 
Dim instance As SummaryCell
Dim value As TitlePosition
 
instance.TitlePosition = value
 
value = instance.TitlePosition
[Description("The position of the SummaryCell's title.")]
[Category("Appearance")]
[Localizable(true)]
[ApplyToDesigner(true)]
public TitlePosition TitlePosition {get; set;}

Property Value

A TitlePosition value representing the position of the SummaryCell's Title. By default, DefaultTitlePosition.
Remarks

For example, if the TitlePosition property is set to PreferablyLeft, an attempt will be made to paint the SummaryCell's title to the immediate left of the SummaryCell. If the space to the immediate left of the SummaryCell is unavailable, then an attempt will be made to the paint the title to the immediate right of the SummaryCell. If neither space is available, the title will not be painted.

If 2 titles try to use the same space (one is painted to the left, while the other is painted to the right), the space will be divided evenly and the title will be clipped according to the settings of the SummaryCell.

The SummaryRow.TextFormat property allows for a summary to be displayed across the entire SummaryRow. If the TextFormat property of a SummaryRow is set and one or more cell's also have a string assigned to their TitleFormat properties, there is a chance that the SummaryRow's text and the SummaryCells' titles will overlap. It is also possible to experience this behavior anytime a SummaryCell's StatFunction property is different than StatFunction.None.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SummaryCell Class
SummaryCell Members