diff options
author | sr55 <[email protected]> | 2011-12-03 20:42:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-12-03 20:42:25 +0000 |
commit | c1f270b152db7a124b4664277c22996115836f81 (patch) | |
tree | c97d367985eba2263a0a33ae021d584bcada02a8 /win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs | |
parent | d23ce1929a4711f9153a27f39ac30f07a1b66acd (diff) |
WinGui: (WPF) Further work hooking up the new main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4372 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs index fa9a38d72..f00d972bb 100644 --- a/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/Controls/AdvancedView.xaml.cs @@ -28,15 +28,22 @@ namespace HandBrakeWPF.Views.Controls /// <summary>
/// The "Query" Dependancy Property
/// </summary>
- public static readonly DependencyProperty QueryProperty = DependencyProperty.Register("Query", typeof(string), typeof(AdvancedView), new PropertyMetadata(null));
+ public static readonly DependencyProperty QueryProperty = DependencyProperty.Register("Query", typeof(string), typeof(AdvancedView));
/// <summary>
/// Gets or sets State.
/// </summary>
public string Query
{
- get { return (string)this.GetValue(QueryProperty); }
- set { this.SetValue(QueryProperty, value); }
+ get
+ {
+ return (string)this.GetValue(QueryProperty);
+ }
+
+ set
+ {
+ this.SetValue(QueryProperty, value);
+ }
}
}
}
|