Spread Windows Forms 12.0 Product Documentation
MergePolicy Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > SheetAxisProperty Class : MergePolicy Field
Represents the axis model MergePolicy property. This field is read-only.
Syntax
'Declaration
 
Public Shared ReadOnly MergePolicy As SheetAxisProperty
'Usage
 
Dim value As SheetAxisProperty
 
value = SheetAxisProperty.MergePolicy
public static readonly SheetAxisProperty MergePolicy
Example
This example checks to see if the MergePolicy property has been set for the specified index of the model.
FarPoint.Win.Spread.Model.DefaultSheetAxisModel defAxis = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical);
fpSpread1.ActiveSheet.Models.ColumnAxis = defAxis;
bool b;
defAxis.SetMergePolicy(0, FarPoint.Win.Spread.Model.MergePolicy.None);
b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.MergePolicy);
listBox1.Items.Add(b.ToString());
Dim defAxis As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical)
defAxis = FpSpread1.ActiveSheet.Models.ColumnAxis
Dim b As Boolean
defAxis.SetMergePolicy(0, FarPoint.Win.Spread.Model.MergePolicy.None)
b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.MergePolicy)
ListBox1.Items.Add(b.ToString())
See Also

Reference

SheetAxisProperty Class
SheetAxisProperty Members