Specifies which UITypeEditor to invoke directly at runtime.
Syntax
Visual Basic (Declaration) | |
---|
Public Enum CollectionEditorOptions
Inherits System.Enum |
Members
Example
This example brings up the UITypeEditors given certain conditions.
C# | Copy Code |
---|
if (fpSpread1.NamedStyles.Count < 1) {
fpSpread1.ShowCollectionEditor(fpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.NamedStyles);
}
if (fpSpread1.Sheets.Count < 2) {
fpSpread1.ShowCollectionEditor(fpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.Sheets);
}
if (fpSpread1.ActiveSheet.GroupInfos.Count < 1) {
fpSpread1.ShowCollectionEditor(fpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.GroupInfo);
}
|
Visual Basic | Copy Code |
---|
If fpSpread1.NamedStyles.Count < 1 Then
fpSpread1.ShowCollectionEditor(fpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.NamedStyles)
End If
If fpSpread1.Sheets.Count < 2 Then
fpSpread1.ShowCollectionEditor(fpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.Sheets)
End If
If FpSpread1.ActiveSheet.GroupInfos.Count < 1 Then
FpSpread1.ShowCollectionEditor(FpSpread1, FarPoint.Win.Spread.CollectionEditorOptions.GroupInfo)
End If
|
Inheritance Hierarchy
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