42 lines
1.0 KiB
C#
42 lines
1.0 KiB
C#
namespace VideoBrowser.Controls.CefSharpBrowser.Models
|
|
{
|
|
using System.ComponentModel;
|
|
using VideoBrowser.Extensions;
|
|
|
|
/// <summary>
|
|
/// Defines the <see cref="TabSettingsModel" />.
|
|
/// </summary>
|
|
public class TabSettingsModel : INotifyPropertyChanged
|
|
{
|
|
#region Fields
|
|
|
|
private string _title;
|
|
|
|
private string _url;
|
|
|
|
#endregion Fields
|
|
|
|
#region Events
|
|
|
|
/// <summary>
|
|
/// Defines the PropertyChanged.
|
|
/// </summary>
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
#endregion Events
|
|
|
|
#region Properties
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Title.
|
|
/// </summary>
|
|
public string Title { get => _title; set => this.Set(this.PropertyChanged, ref _title, value); }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the Url.
|
|
/// </summary>
|
|
public string Url { get => _url; set => this.Set(this.PropertyChanged, ref _url, value); }
|
|
|
|
#endregion Properties
|
|
}
|
|
} |