/// <summary> /// Reads the attached property DesiredFrameRate from the given Timeline. /// </summary> /// <param name="timeline">Timeline from which to read the attached property.</param> /// <returns>The property's value.</returns> /// <seealso cref="Timeline.DesiredFrameRateProperty" /> public static Int32?GetDesiredFrameRate(Timeline timeline) { if (timeline == null) { throw new ArgumentNullException("timeline"); } return((Int32?)timeline.GetValue(DesiredFrameRateProperty)); }
public static PropertyPath GetTargetProperty(Timeline element) { if (element == null) { throw new ArgumentNullException("element"); } return((PropertyPath)element.GetValue(TargetPropertyProperty)); }
public static string GetTargetName(Timeline element) { return((string)element.GetValue(TargetNameProperty)); }
public static PropertyPath GetTargetProperty (Timeline element) { if (element == null) throw new ArgumentNullException ("element"); return (PropertyPath) element.GetValue (TargetPropertyProperty); }
public static string GetTargetName (Timeline element) { return (string) element.GetValue (TargetNameProperty); }
/// <summary> /// Reads the attached property DesiredFrameRate from the given Timeline. /// </summary> /// <param name="timeline">Timeline from which to read the attached property.</param> /// <returns>The property's value.</returns> /// <seealso cref="Timeline.DesiredFrameRateProperty" /> public static Int32? GetDesiredFrameRate(Timeline timeline) { if (timeline == null) { throw new ArgumentNullException("timeline"); } return (Int32?)timeline.GetValue(DesiredFrameRateProperty); }
public static string GetTarget (Timeline d) { return (string)d.GetValue(TargetProperty); }