TimingValueBuilder Class

TimingValueBuilder class

Builds a timing value used for specifying animation or transition timings.

public class TimingValueBuilder

Constructors

NameDescription
TimingValueBuilder()The default constructor.

Methods

NameDescription
AddAccessKey(char, TimeSpan?)Adds an access key-based timing value.
AddEvent(string, string, TimeSpan?)Adds an event-based timing value.
AddIndefinite()Adds an indefinite timing value.
AddOffset(TimeSpan)Adds a time offset to the timing value.
AddRepeat(string, int, TimeSpan?)Adds a repeat-based timing value.
AddSyncbase(string, string, TimeSpan?)Adds a syncbase timing value, which synchronizes with another element’s timing.
AddWallclock(DateTime)Adds a wallclock timing value.
Build()Builds the final timing value string from the added components.
static FormatTimeSpan(TimeSpan)Formats a TimeSpan into a string representation suitable for timing values.

See Also