CardToolbarActionGroup - конструктор
Пространство имён: Tessa.UI.CardsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public CardToolbarActionGroup(
string name,
string caption,
Object icon,
IEnumerable<CardToolbarAction> innerItems = null,
Func<bool> isEnabledFunc = null,
string tooltip = null,
FontWeight? captionFontWeight = null,
FontStyle? captionFontStyle = null,
Color? captionForeground = null,
Color? hover = null,
Color? hoverText = null,
int order = 0,
IReadOnlyCollection<InputGesture> gestures = null
)
Public Sub New (
name As String,
caption As String,
icon As Object,
Optional innerItems As IEnumerable(Of CardToolbarAction) = Nothing,
Optional isEnabledFunc As Func(Of Boolean) = Nothing,
Optional tooltip As String = Nothing,
Optional captionFontWeight As FontWeight? = Nothing,
Optional captionFontStyle As FontStyle? = Nothing,
Optional captionForeground As Color? = Nothing,
Optional hover As Color? = Nothing,
Optional hoverText As Color? = Nothing,
Optional order As Integer = 0,
Optional gestures As IReadOnlyCollection(Of InputGesture) = Nothing
)
public:
CardToolbarActionGroup(
String^ name,
String^ caption,
Object^ icon,
IEnumerable<CardToolbarAction^>^ innerItems = nullptr,
Func<bool>^ isEnabledFunc = nullptr,
String^ tooltip = nullptr,
Nullable<FontWeight^> captionFontWeight = nullptr,
Nullable<FontStyle^> captionFontStyle = nullptr,
Nullable<Color^> captionForeground = nullptr,
Nullable<Color^> hover = nullptr,
Nullable<Color^> hoverText = nullptr,
int order = 0,
IReadOnlyCollection<InputGesture^>^ gestures = nullptr
)
new :
name : string *
caption : string *
icon : Object *
?innerItems : IEnumerable<CardToolbarAction> *
?isEnabledFunc : Func<bool> *
?tooltip : string *
?captionFontWeight : Nullable<FontWeight> *
?captionFontStyle : Nullable<FontStyle> *
?captionForeground : Nullable<Color> *
?hover : Nullable<Color> *
?hoverText : Nullable<Color> *
?order : int *
?gestures : IReadOnlyCollection<InputGesture>
(* Defaults:
let _innerItems = defaultArg innerItems null
let _isEnabledFunc = defaultArg isEnabledFunc null
let _tooltip = defaultArg tooltip null
let _captionFontWeight = defaultArg captionFontWeight null
let _captionFontStyle = defaultArg captionFontStyle null
let _captionForeground = defaultArg captionForeground null
let _hover = defaultArg hover null
let _hoverText = defaultArg hoverText null
let _order = defaultArg order 0
let _gestures = defaultArg gestures null
*)
-> CardToolbarActionGroup
Параметры
- name String
-
- caption String
-
- icon Object
-
- innerItems IEnumerableCardToolbarAction (Optional)
-
- isEnabledFunc FuncBoolean (Optional)
-
- tooltip String (Optional)
-
- captionFontWeight NullableFontWeight (Optional)
-
- captionFontStyle NullableFontStyle (Optional)
-
- captionForeground NullableColor (Optional)
-
- hover NullableColor (Optional)
-
- hoverText NullableColor (Optional)
-
- order Int32 (Optional)
-
- gestures IReadOnlyCollectionInputGesture (Optional)
-