CardToolbarAction - конструктор
Пространство имён: Tessa.UI.CardsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public CardToolbarAction(
string name,
string caption,
Object icon,
ICommand command,
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,
command As ICommand,
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:
CardToolbarAction(
String^ name,
String^ caption,
Object^ icon,
ICommand^ command,
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 *
command : ICommand *
?tooltip : string *
?captionFontWeight : Nullable<FontWeight> *
?captionFontStyle : Nullable<FontStyle> *
?captionForeground : Nullable<Color> *
?hover : Nullable<Color> *
?hoverText : Nullable<Color> *
?order : int *
?gestures : IReadOnlyCollection<InputGesture>
(* Defaults:
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
*)
-> CardToolbarAction
Параметры
- name String
-
- caption String
-
- icon Object
-
- command ICommand
-
- tooltip String (Optional)
-
- captionFontWeight NullableFontWeight (Optional)
-
- captionFontStyle NullableFontStyle (Optional)
-
- captionForeground NullableColor (Optional)
-
- hover NullableColor (Optional)
-
- hoverText NullableColor (Optional)
-
- order Int32 (Optional)
-
- gestures IReadOnlyCollectionInputGesture (Optional)
-