Spread Windows Forms 7.0 Product Documentation
ContentAlignment Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class : ContentAlignment Property


Glossary Item Box

Gets or sets the content alignment of the control.

Syntax

Visual Basic (Declaration) 
Public Overridable Property ContentAlignment As ContentAlignment
Visual Basic (Usage)Copy Code
Dim instance As EditBase
Dim value As ContentAlignment
 
instance.ContentAlignment = value
 
value = instance.ContentAlignment
C# 
public virtual ContentAlignment ContentAlignment {get; set;}

Property Value

The value indicates the alignment of the content of this control.
The default is System.Drawing.ContentAlignment.TopLeft.

Remarks

There are nine alignment types for displaying the content. Each type can be set using this property.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.