Table of Contents

Class SillViewMarkup

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

Methods

ContentTemplate(SillView, Func<UIElement>)

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

Parameters

element SillView
dataTemplateDelegate Func<UIElement>

Returns

SillView

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

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

Parameters

element SillView
dataTemplateDelegate Func<TItem, UIElement>

Returns

SillView

Type Parameters

TItem

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

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

Parameters

element SillView
configureRoot Action<TItem, TRoot>

Returns

SillView

Type Parameters

TItem
TRoot

PreviewFlyoutContentDataTemplateSelector<TItem>(SillView, Action<TItem, MarkupDataTemplateSelectorBuilder<TItem>>)

[MarkupExtension]
public static SillView PreviewFlyoutContentDataTemplateSelector<TItem>(this SillView element, Action<TItem, MarkupDataTemplateSelectorBuilder<TItem>> configureDataTemplateSelector)

Parameters

element SillView
configureDataTemplateSelector Action<TItem, MarkupDataTemplateSelectorBuilder<TItem>>

Returns

SillView

Type Parameters

TItem

PreviewFlyoutContent<T>(T, FrameworkElement)

[MarkupExtension]
public static T PreviewFlyoutContent<T>(this T element, FrameworkElement previewFlyoutContent) where T : SillView

Parameters

element T
previewFlyoutContent FrameworkElement

Returns

T

Type Parameters

T

PreviewFlyoutContent<T>(T, Action<IDependencyPropertyBuilder<FrameworkElement>>)

[MarkupExtension]
public static T PreviewFlyoutContent<T>(this T element, Action<IDependencyPropertyBuilder<FrameworkElement>> configureProperty) where T : SillView

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<FrameworkElement>>

Returns

T

Type Parameters

T

PreviewFlyoutContent<T, TSource>(T, Func<TSource>, Func<TSource, FrameworkElement>, string?)

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

Parameters

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

Returns

T

Type Parameters

T
TSource

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

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

Parameters

element T
propertyBinding Func<TSource>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

PreviewFlyoutPlacementTarget<T>(T, UIElement)

[MarkupExtension]
public static T PreviewFlyoutPlacementTarget<T>(this T element, UIElement previewFlyoutPlacementTarget) where T : SillView

Parameters

element T
previewFlyoutPlacementTarget UIElement

Returns

T

Type Parameters

T

PreviewFlyoutPlacementTarget<T>(T, Action<IDependencyPropertyBuilder<UIElement>>)

[MarkupExtension]
public static T PreviewFlyoutPlacementTarget<T>(this T element, Action<IDependencyPropertyBuilder<UIElement>> configureProperty) where T : SillView

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<UIElement>>

Returns

T

Type Parameters

T

PreviewFlyoutPlacementTarget<T, TSource>(T, Func<TSource>, Func<TSource, UIElement>, string?)

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

Parameters

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

Returns

T

Type Parameters

T
TSource

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

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

Parameters

element T
propertyBinding Func<TSource>
propertyBindingExpression string

Returns

T

Type Parameters

T
TSource

ShouldAppearInSill<T>(T, Action<IDependencyPropertyBuilder<bool>>)

[MarkupExtension]
public static T ShouldAppearInSill<T>(this T element, Action<IDependencyPropertyBuilder<bool>> configureProperty) where T : SillView

Parameters

element T
configureProperty Action<IDependencyPropertyBuilder<bool>>

Returns

T

Type Parameters

T

ShouldAppearInSill<T>(T, bool)

[MarkupExtension]
public static T ShouldAppearInSill<T>(this T element, bool shouldAppearInSill) where T : SillView

Parameters

element T
shouldAppearInSill bool

Returns

T

Type Parameters

T

ShouldAppearInSill<T, TSource>(T, Func<TSource>, Func<TSource, bool>, string?)

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

Parameters

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

Returns

T

Type Parameters

T
TSource

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

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

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 : SillView

Parameters

element TControl
controlTemplateDelegate Func<UIElement>

Returns

TControl

Type Parameters

TControl