C# Class WinRTXamlToolkit.Controls.Extensions.ContentControlExtensions

Extensions/attached properties for a ContentControl
Exibir arquivo Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
FadeInTransitioningContentTemplateProperty Windows.UI.Xaml.DependencyProperty
FadeTransitioningContentTemplateProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
ClearContentControl ( this @this, object item ) : void

Clears the content control after using in an ItemsControl.

GetFadeInTransitioningContentTemplate ( DependencyObject d ) : DataTemplate

Gets the FadeInTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.

GetFadeTransitioningContentTemplate ( DependencyObject d ) : DataTemplate

Gets the FadeTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.

PrepareContentControl ( this @this, object item, DataTemplate itemTemplate, DataTemplateSelector itemTemplateSelector ) : void

Prepares the content control for use in an ItemsControl.

SetFadeInTransitioningContentTemplate ( DependencyObject d, DataTemplate value ) : void

Sets the FadeInTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.

SetFadeTransitioningContentTemplate ( DependencyObject d, DataTemplate value ) : void

Sets the FadeTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.

Private Methods

Method Description
OnFadeInTransitioningContentTemplateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the FadeInTransitioningContentTemplate property.

OnFadeTransitioningContentTemplateChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the FadeTransitioningContentTemplate property.

Method Details

ClearContentControl() public static method

Clears the content control after using in an ItemsControl.
public static ClearContentControl ( this @this, object item ) : void
@this this
item object The item.
return void

GetFadeInTransitioningContentTemplate() public static method

Gets the FadeInTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.
public static GetFadeInTransitioningContentTemplate ( DependencyObject d ) : DataTemplate
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Xaml.DataTemplate

GetFadeTransitioningContentTemplate() public static method

Gets the FadeTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.
public static GetFadeTransitioningContentTemplate ( DependencyObject d ) : DataTemplate
d Windows.UI.Xaml.DependencyObject
return Windows.UI.Xaml.DataTemplate

PrepareContentControl() public static method

Prepares the content control for use in an ItemsControl.
public static PrepareContentControl ( this @this, object item, DataTemplate itemTemplate, DataTemplateSelector itemTemplateSelector ) : void
@this this
item object The item.
itemTemplate Windows.UI.Xaml.DataTemplate The item template.
itemTemplateSelector Windows.UI.Xaml.Controls.DataTemplateSelector The item template selector.
return void

SetFadeInTransitioningContentTemplate() public static method

Sets the FadeInTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.
public static SetFadeInTransitioningContentTemplate ( DependencyObject d, DataTemplate value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.DataTemplate
return void

SetFadeTransitioningContentTemplate() public static method

Sets the FadeTransitioningContentTemplate property. This dependency property indicates the value to set the ContentTemplate to between fade out/fade in transitions.
public static SetFadeTransitioningContentTemplate ( DependencyObject d, DataTemplate value ) : void
d Windows.UI.Xaml.DependencyObject
value Windows.UI.Xaml.DataTemplate
return void

Property Details

FadeInTransitioningContentTemplateProperty public_oe static_oe property

FadeInTransitioningContentTemplate Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml FadeInTransitioningContentTemplateProperty
return Windows.UI.Xaml.DependencyProperty

FadeTransitioningContentTemplateProperty public_oe static_oe property

FadeTransitioningContentTemplate Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml FadeTransitioningContentTemplateProperty
return Windows.UI.Xaml.DependencyProperty