Hello,
I have a zoom functionnality in a RadSplitContainer, i would like to place bottom-right my main application window.
I create this splitcontainer in xaml.
Then on Main window load container I'd like tu set programmaticaly the floating location :
But it seems not to work...
Thanks for your help
Aurore
ps : is there a difference between using Object.SetValue(property, value) and type.Setproperty(object, value) ?
I have a zoom functionnality in a RadSplitContainer, i would like to place bottom-right my main application window.
I create this splitcontainer in xaml.
| <telerik:RadSplitContainer InitialPosition="FloatingOnly" x:Name="ZoomContainer" |
| telerik:RadDocking.FloatingSize="200 200" > |
| <telerik:RadPaneGroup > |
| <telerik:RadPane CanDockInDocumentHost="False" CanUserClose="True" x:Name="paneZoom" |
| DataContext="{Binding DataContext, ElementName=root}" |
| IsHidden="{Binding DisplayZoom, Mode=TwoWay, Converter={StaticResource convInverseBoolean}}" |
| Header="Zoom" > |
| <!--<Expander IsExpanded="True" Header="Zoom">--> |
| <Grid x:Name="rootZoom"> |
Then on Main window load container I'd like tu set programmaticaly the floating location :
| private void QDiagram_Loaded(object sender, RoutedEventArgs e) |
| { |
| //ZoomContainer.SetValue(RadDocking.FloatingLocationProperty, new Point(132, 10)); |
| RadDocking.SetFloatingLocation(ZoomContainer, new Point(132, 10)); |
| } |
But it seems not to work...
Thanks for your help
Aurore
ps : is there a difference between using Object.SetValue(property, value) and type.Setproperty(object, value) ?