Unfortunately thats not workign though.
<CheckBox Width="74"
Height="17"
Margin="200,120,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Content="Toggle Aero Glass"
FlowDirection="RightToLeft"
IsChecked="{Binding ElementName=optionsWindow, Path=Owner.(ribbon:RibbonWindow.IsGlassEnabled)}" />
I do have this on the form as well, it's just after the public partial class declaration
#region Dependency Properties
/// <summary>
/// Identifies the <see cref="Ribbon"/> dependency property. This field is read-only.
/// </summary>
/// <value>The identifier for the <see cref="Ribbon"/> dependency property.</value>
public static readonly DependencyProperty RibbonProperty = DependencyProperty.Register("Ribbon", typeof(ActiproSoftware.Windows.Controls.Ribbon.Ribbon), typeof(OptionsWindow), new FrameworkPropertyMetadata(null));
#endregion
[Modified 12 years ago]