/// <summary> /// Creates a new instance of TimeRemainingButtonBehavior. /// </summary> public TimeRemainingButtonBehavior() { Command = ViewModelCommandFactory.CreateSkipAheadCommand(); skipAheadPointerOverStringFormat = MediaPlayer.GetResourceString("SkipAheadPointerOverStringFormat"); Label = MediaPlayer.GetResourceString("TimeRemainingButtonLabel"); }
/// <summary> /// Creates a new instance of SkipAheadButtonBehavior. /// </summary> public SkipAheadButtonBehavior() { Label = MediaPlayer.GetResourceString("SkipAheadButtonLabel"); Command = ViewModelCommandFactory.CreateSkipAheadCommand(); Content = XamlReader.Load(MediaPlayer.GetResourceString("SkipAheadButtonContent")); }