C# Class WinRTXamlToolkit.Controls.CascadingTextBlock

A TextBlock-like control with unique 3D transitions.
Inheritance: Windows.UI.Xaml.Controls.UserControl
Datei anzeigen Open project: xyzzer/WinRTXamlToolkit Class Usage Examples

Public Properties

Property Type Description
AnimateOnLoadedProperty Windows.UI.Xaml.DependencyProperty
CascadeInDurationProperty Windows.UI.Xaml.DependencyProperty
CascadeInDurationStringProperty Windows.UI.Xaml.DependencyProperty
CascadeInEasingFunctionProperty Windows.UI.Xaml.DependencyProperty
CascadeInProperty Windows.UI.Xaml.DependencyProperty
CascadeIntervalProperty Windows.UI.Xaml.DependencyProperty
CascadeIntervalStringProperty Windows.UI.Xaml.DependencyProperty
CascadeOutDurationProperty Windows.UI.Xaml.DependencyProperty
CascadeOutDurationStringProperty Windows.UI.Xaml.DependencyProperty
CascadeOutEasingFunctionProperty Windows.UI.Xaml.DependencyProperty
CascadeOutProperty Windows.UI.Xaml.DependencyProperty
FadeInEasingFunctionProperty Windows.UI.Xaml.DependencyProperty
FadeOutEasingFunctionProperty Windows.UI.Xaml.DependencyProperty
FromRotationProperty Windows.UI.Xaml.DependencyProperty
FromVerticalOffsetProperty Windows.UI.Xaml.DependencyProperty
HoldDurationProperty Windows.UI.Xaml.DependencyProperty
HoldDurationStringProperty Windows.UI.Xaml.DependencyProperty
StartDelayProperty Windows.UI.Xaml.DependencyProperty
TextBlockTemplateProperty Windows.UI.Xaml.DependencyProperty
TextProperty Windows.UI.Xaml.DependencyProperty
ToRotationProperty Windows.UI.Xaml.DependencyProperty
ToVerticalOffsetProperty Windows.UI.Xaml.DependencyProperty
UseFadeProperty Windows.UI.Xaml.DependencyProperty
UseRotationProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
BeginCascadingTransitionAsync ( ) : System.Threading.Tasks.Task

Begins the cascading transition asynchronously (waits for it to complete).

CascadingTextBlock ( ) : System

Initializes a new instance of the CascadingTextBlock class.

Protected Methods

Method Description
OnCascadeInDurationStringChanged ( string oldCascadeInDurationString, string newCascadeInDurationString ) : void

Provides derived classes an opportunity to handle changes to the CascadeInDurationString property.

OnCascadeIntervalStringChanged ( string oldCascadeIntervalString, string newCascadeIntervalString ) : void

Provides derived classes an opportunity to handle changes to the CascadeIntervalString property.

OnCascadeOutDurationStringChanged ( string oldCascadeOutDurationString, string newCascadeOutDurationString ) : void

Provides derived classes an opportunity to handle changes to the CascadeOutDurationString property.

OnHoldDurationStringChanged ( string oldHoldDurationString, string newHoldDurationString ) : void

Provides derived classes an opportunity to handle changes to the HoldDurationString property.

Private Methods

Method Description
CreateTextBlock ( TranslateTransform tt ) : TextBlock
OnCascadeInDurationStringChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CascadeInDurationString property.

OnCascadeIntervalStringChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CascadeIntervalString property.

OnCascadeOutDurationStringChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the CascadeOutDurationString property.

OnCascadingTextBlockLoaded ( object sender, RoutedEventArgs e ) : void
OnHoldDurationStringChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the HoldDurationString property.

OnTextChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the Text property.

OnTextChanged ( string oldText, string newText ) : void

Provides derived classes an opportunity to handle changes to the Text property.

Method Details

BeginCascadingTransitionAsync() public method

Begins the cascading transition asynchronously (waits for it to complete).
public BeginCascadingTransitionAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

CascadingTextBlock() public method

Initializes a new instance of the CascadingTextBlock class.
public CascadingTextBlock ( ) : System
return System

OnCascadeInDurationStringChanged() protected method

Provides derived classes an opportunity to handle changes to the CascadeInDurationString property.
protected OnCascadeInDurationStringChanged ( string oldCascadeInDurationString, string newCascadeInDurationString ) : void
oldCascadeInDurationString string
newCascadeInDurationString string
return void

OnCascadeIntervalStringChanged() protected method

Provides derived classes an opportunity to handle changes to the CascadeIntervalString property.
protected OnCascadeIntervalStringChanged ( string oldCascadeIntervalString, string newCascadeIntervalString ) : void
oldCascadeIntervalString string
newCascadeIntervalString string
return void

OnCascadeOutDurationStringChanged() protected method

Provides derived classes an opportunity to handle changes to the CascadeOutDurationString property.
protected OnCascadeOutDurationStringChanged ( string oldCascadeOutDurationString, string newCascadeOutDurationString ) : void
oldCascadeOutDurationString string
newCascadeOutDurationString string
return void

OnHoldDurationStringChanged() protected method

Provides derived classes an opportunity to handle changes to the HoldDurationString property.
protected OnHoldDurationStringChanged ( string oldHoldDurationString, string newHoldDurationString ) : void
oldHoldDurationString string
newHoldDurationString string
return void

Property Details

AnimateOnLoadedProperty public_oe static_oe property

AnimateOnLoaded Dependency Property
public static DependencyProperty,Windows.UI.Xaml AnimateOnLoadedProperty
return Windows.UI.Xaml.DependencyProperty

CascadeInDurationProperty public_oe static_oe property

CascadeInDuration Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeInDurationProperty
return Windows.UI.Xaml.DependencyProperty

CascadeInDurationStringProperty public_oe static_oe property

CascadeInDurationString Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeInDurationStringProperty
return Windows.UI.Xaml.DependencyProperty

CascadeInEasingFunctionProperty public_oe static_oe property

CascadeInEasingFunction Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeInEasingFunctionProperty
return Windows.UI.Xaml.DependencyProperty

CascadeInProperty public_oe static_oe property

CascadeIn Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeInProperty
return Windows.UI.Xaml.DependencyProperty

CascadeIntervalProperty public_oe static_oe property

CascadeInterval Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeIntervalProperty
return Windows.UI.Xaml.DependencyProperty

CascadeIntervalStringProperty public_oe static_oe property

CascadeIntervalString Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeIntervalStringProperty
return Windows.UI.Xaml.DependencyProperty

CascadeOutDurationProperty public_oe static_oe property

CascadeOutDuration Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeOutDurationProperty
return Windows.UI.Xaml.DependencyProperty

CascadeOutDurationStringProperty public_oe static_oe property

CascadeOutDurationString Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeOutDurationStringProperty
return Windows.UI.Xaml.DependencyProperty

CascadeOutEasingFunctionProperty public_oe static_oe property

CascadeOutEasingFunction Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeOutEasingFunctionProperty
return Windows.UI.Xaml.DependencyProperty

CascadeOutProperty public_oe static_oe property

CascadeOut Dependency Property
public static DependencyProperty,Windows.UI.Xaml CascadeOutProperty
return Windows.UI.Xaml.DependencyProperty

FadeInEasingFunctionProperty public_oe static_oe property

FadeInEasingFunction Dependency Property
public static DependencyProperty,Windows.UI.Xaml FadeInEasingFunctionProperty
return Windows.UI.Xaml.DependencyProperty

FadeOutEasingFunctionProperty public_oe static_oe property

FadeOutEasingFunction Dependency Property
public static DependencyProperty,Windows.UI.Xaml FadeOutEasingFunctionProperty
return Windows.UI.Xaml.DependencyProperty

FromRotationProperty public_oe static_oe property

FromRotation Dependency Property
public static DependencyProperty,Windows.UI.Xaml FromRotationProperty
return Windows.UI.Xaml.DependencyProperty

FromVerticalOffsetProperty public_oe static_oe property

FromVerticalOffset Dependency Property
public static DependencyProperty,Windows.UI.Xaml FromVerticalOffsetProperty
return Windows.UI.Xaml.DependencyProperty

HoldDurationProperty public_oe static_oe property

HoldDuration Dependency Property
public static DependencyProperty,Windows.UI.Xaml HoldDurationProperty
return Windows.UI.Xaml.DependencyProperty

HoldDurationStringProperty public_oe static_oe property

HoldDurationString Dependency Property
public static DependencyProperty,Windows.UI.Xaml HoldDurationStringProperty
return Windows.UI.Xaml.DependencyProperty

StartDelayProperty public_oe static_oe property

StartDelay Dependency Property
public static DependencyProperty,Windows.UI.Xaml StartDelayProperty
return Windows.UI.Xaml.DependencyProperty

TextBlockTemplateProperty public_oe static_oe property

TextBlockTemplate Dependency Property
public static DependencyProperty,Windows.UI.Xaml TextBlockTemplateProperty
return Windows.UI.Xaml.DependencyProperty

TextProperty public_oe static_oe property

Text Dependency Property
public static DependencyProperty,Windows.UI.Xaml TextProperty
return Windows.UI.Xaml.DependencyProperty

ToRotationProperty public_oe static_oe property

ToRotation Dependency Property
public static DependencyProperty,Windows.UI.Xaml ToRotationProperty
return Windows.UI.Xaml.DependencyProperty

ToVerticalOffsetProperty public_oe static_oe property

ToVerticalOffset Dependency Property
public static DependencyProperty,Windows.UI.Xaml ToVerticalOffsetProperty
return Windows.UI.Xaml.DependencyProperty

UseFadeProperty public_oe static_oe property

UseFade Dependency Property
public static DependencyProperty,Windows.UI.Xaml UseFadeProperty
return Windows.UI.Xaml.DependencyProperty

UseRotationProperty public_oe static_oe property

UseRotation Dependency Property
public static DependencyProperty,Windows.UI.Xaml UseRotationProperty
return Windows.UI.Xaml.DependencyProperty