Spread Windows Forms 12.0 Product Documentation
Position Property (MarqueeFocusIndicatorRenderer)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > MarqueeFocusIndicatorRenderer Class : Position Property
Gets or sets the current step in the multiple-step animation cycle.
Syntax
'Declaration
 
Public Property Position As Integer
'Usage
 
Dim instance As MarqueeFocusIndicatorRenderer
Dim value As Integer
 
instance.Position = value
 
value = instance.Position
public int Position {get; set;}

Property Value

Integer number of the current step in the animation
Example
This example uses the Position property.
FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer mfr = new FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer();
mfr.Color = Color.Crimson;
mfr.Thickness = 2;
mfr.Position = 1;
fpSpread1.FocusRenderer = mfr;
Dim mfr As New FarPoint.Win.Spread.MarqueeFocusIndicatorRenderer()
mfr.Color = Color.Crimson
mfr.Thickness = 2
mfr.Position = 1
fpSpread1.FocusRenderer = mfr
See Also

Reference

MarqueeFocusIndicatorRenderer Class
MarqueeFocusIndicatorRenderer Members