I have made a .settings to hold properties in the user.config. One of this settings, Top, i bind to the Top attribute of my ribbon window.
This binding works, but the top is "each" time of a new launch a bit shifted to the top. This can not be right. Which property should i use to ensure the same position?
Regards
Martin
<ribbon:RibbonWindow x:Class="StatNeth.Blaise.IDE.CodeSnippets.EditSnippetsWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
xmlns:props="clr-namespace:StatNeth.Blaise.IDE.CodeSnippets.Properties"
WindowStyle="SingleBorderWindow"
ShowInTaskbar="False"
Top="{Binding Source={x:Static props:Settings.Default}, Path=Top, Mode=TwoWay}"
Regards
Martin