public object Convert(object value, Type targetType, object parameter, string language) { VlcState obj = (VlcState)value; if ((obj == VlcState.Stopped) || (obj == VlcState.Paused)) { return(Visibility.Visible); } else { return(Visibility.Collapsed); } }
internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData) : base(Args, UserData) { _NewState = base.Args.media_state_changed.new_state; }
internal VlcStateChangedEventArgs(VlcCallbackArgs Args, IntPtr UserData, VlcState NewState) : base(Args, UserData) { _NewState = NewState; }