Spread Windows Forms 12.0 Product Documentation
RightToLeft Property (Appearance)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Appearance Class : RightToLeft Property
Gets or sets whether the object should paint right to left.
Syntax
'Declaration
 
Public Property RightToLeft As Boolean
'Usage
 
Dim instance As Appearance
Dim value As Boolean
 
instance.RightToLeft = value
 
value = instance.RightToLeft
public bool RightToLeft {get; set;}

Property Value

Boolean: true to display right to left; false to display left to right
Example
This example customizes the appearance object.
FarPoint.Win.Spread.Appearance appr = new FarPoint.Win.Spread.Appearance(); 
appr.DisplayZero = false; 
appr.FilterState = FilterState.None; 
appr.MouseOver = true; 
appr.RightToLeft = false; 
appr.ShowActive = true; 
appr.SortState = SortState.None; 
appr.VisualStyles = FarPoint.Win.VisualStyles.On; 
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); 
si.SetAppearance(appr); 
fpSpread1.ActiveSheet.SetStyleInfo(0, 0, si);
Dim appr As New FarPoint.Win.Spread.Appearance()
appr.DisplayZero = False
appr.FilterState = FilterState.None
appr.MouseOver = True
appr.RightToLeft = False
appr.ShowActive = True
appr.SortState = SortState.None
appr.VisualStyles = FarPoint.Win.VisualStyles.On
Dim si As New FarPoint.Win.Spread.StyleInfo
si.SetAppearance(appr)
fpSpread1.ActiveSheet.SetStyleInfo(0, 0, si)
See Also

Reference

Appearance Class
Appearance Members

User-Task Documentation

Handling Right-to-Left Layouts