Table of Contents

Class ShortcutButtonMarkup

Namespace
WindowSill.API
Assembly
WindowSill.API.dll
public static class ShortcutButtonMarkup
Inheritance
ShortcutButtonMarkup
Inherited Members

Methods

ContentTemplate(ShortcutButton, Func<UIElement>)

[MarkupExtension]
public static ShortcutButton ContentTemplate(this ShortcutButton element, Func<UIElement> dataTemplateDelegate)

Parameters

element ShortcutButton
dataTemplateDelegate Func<UIElement>

Returns

ShortcutButton

ContentTemplate<TItem>(ShortcutButton, Func<TItem, UIElement>)

[MarkupExtension]
public static ShortcutButton ContentTemplate<TItem>(this ShortcutButton element, Func<TItem, UIElement> dataTemplateDelegate)

Parameters

element ShortcutButton
dataTemplateDelegate Func<TItem, UIElement>

Returns

ShortcutButton

Type Parameters

TItem

ContentTemplate<TItem, TRoot>(ShortcutButton, Action<TItem, TRoot>)

[MarkupExtension]
public static ShortcutButton ContentTemplate<TItem, TRoot>(this ShortcutButton element, Action<TItem, TRoot> configureRoot) where TRoot : UIElement, new()

Parameters

element ShortcutButton
configureRoot Action<TItem, TRoot>

Returns

ShortcutButton

Type Parameters

TItem
TRoot

ShortcutBadgeHorizontalAlignment<T>(T, HorizontalAlignment)

[MarkupExtension]
public static T ShortcutBadgeHorizontalAlignment<T>(this T element, HorizontalAlignment shortcutBadgeHorizontalAlignment) where T : ShortcutButton

Parameters

element T
shortcutBadgeHorizontalAlignment HorizontalAlignment

Returns

T

Type Parameters

T

ShortcutBadgeHorizontalAlignment<T>(T, Action<IDependencyPropertyBuilder<HorizontalAlignment>>)

[MarkupExtension]
public static T ShortcutBadgeHorizontalAlignment<T>(this T element, Action<IDependencyPropertyBuilder<HorizontalAlignment>> configureProperty) where T : ShortcutButton

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<HorizontalAlignment>>

Returns

T

Type Parameters

T

ShortcutBadgeHorizontalAlignment<T, TSource>(T, Func<TSource>, Func<TSource, HorizontalAlignment>, string?)

[MarkupExtension]
public static T ShortcutBadgeHorizontalAlignment<T, TSource>(this T element, Func<TSource> propertyBinding, Func<TSource, HorizontalAlignment> convertDelegate, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
convertDelegate Func<TSource, HorizontalAlignment>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShortcutBadgeHorizontalAlignment<T, TSource>(T, Func<TSource>, string?)

[MarkupExtension]
public static T ShortcutBadgeHorizontalAlignment<T, TSource>(this T element, Func<TSource> propertyBinding, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShortcutBadgeMargin<T>(T, Thickness)

[MarkupExtension]
public static T ShortcutBadgeMargin<T>(this T element, Thickness shortcutBadgeMargin) where T : ShortcutButton

Parameters

element T
shortcutBadgeMargin Thickness

Returns

T

Type Parameters

T

ShortcutBadgeMargin<T>(T, Action<IDependencyPropertyBuilder<Thickness>>)

[MarkupExtension]
public static T ShortcutBadgeMargin<T>(this T element, Action<IDependencyPropertyBuilder<Thickness>> configureProperty) where T : ShortcutButton

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<Thickness>>

Returns

T

Type Parameters

T

ShortcutBadgeMargin<T>(T, double)

[MarkupExtension]
public static T ShortcutBadgeMargin<T>(this T element, double uniformLength) where T : ShortcutButton

Parameters

element T
uniformLength double

Returns

T

Type Parameters

T

ShortcutBadgeMargin<T>(T, double, double)

[MarkupExtension]
public static T ShortcutBadgeMargin<T>(this T element, double x, double y) where T : ShortcutButton

Parameters

element T
x double
y double

Returns

T

Type Parameters

T

ShortcutBadgeMargin<T>(T, double, double, double, double)

[MarkupExtension]
public static T ShortcutBadgeMargin<T>(this T element, double left, double top, double right, double bottom) where T : ShortcutButton

Parameters

element T
left double
top double
right double
bottom double

Returns

T

Type Parameters

T

ShortcutBadgeMargin<T, TSource>(T, Func<TSource>, Func<TSource, Thickness>, string?)

[MarkupExtension]
public static T ShortcutBadgeMargin<T, TSource>(this T element, Func<TSource> propertyBinding, Func<TSource, Thickness> convertDelegate, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
convertDelegate Func<TSource, Thickness>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShortcutBadgeMargin<T, TSource>(T, Func<TSource>, string?)

[MarkupExtension]
public static T ShortcutBadgeMargin<T, TSource>(this T element, Func<TSource> propertyBinding, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShortcutBadgeVerticalAlignment<T>(T, VerticalAlignment)

[MarkupExtension]
public static T ShortcutBadgeVerticalAlignment<T>(this T element, VerticalAlignment shortcutBadgeVerticalAlignment) where T : ShortcutButton

Parameters

element T
shortcutBadgeVerticalAlignment VerticalAlignment

Returns

T

Type Parameters

T

ShortcutBadgeVerticalAlignment<T>(T, Action<IDependencyPropertyBuilder<VerticalAlignment>>)

[MarkupExtension]
public static T ShortcutBadgeVerticalAlignment<T>(this T element, Action<IDependencyPropertyBuilder<VerticalAlignment>> configureProperty) where T : ShortcutButton

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<VerticalAlignment>>

Returns

T

Type Parameters

T

ShortcutBadgeVerticalAlignment<T, TSource>(T, Func<TSource>, Func<TSource, VerticalAlignment>, string?)

[MarkupExtension]
public static T ShortcutBadgeVerticalAlignment<T, TSource>(this T element, Func<TSource> propertyBinding, Func<TSource, VerticalAlignment> convertDelegate, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
convertDelegate Func<TSource, VerticalAlignment>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShortcutBadgeVerticalAlignment<T, TSource>(T, Func<TSource>, string?)

[MarkupExtension]
public static T ShortcutBadgeVerticalAlignment<T, TSource>(this T element, Func<TSource> propertyBinding, string? propertyBindingExpression = null) where T : ShortcutButton

Parameters

element T
propertyBinding Func<TSource>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

Template<TControl>(TControl, Func<UIElement>)

[MarkupExtension]
public static TControl Template<TControl>(this TControl element, Func<UIElement> controlTemplateDelegate) where TControl : ShortcutButton

Parameters

element TControl
controlTemplateDelegate Func<UIElement>

Returns

TControl

Type Parameters

TControl