/// <summary> /// Initialize a new instance of the MetaRadialPanel class. /// </summary> public MetaRadialPanel() { RadialLayout layout = new RadialLayout(); layout.SetBinding(RadialLayout.StartAngleProperty, ThisBinding("StartAngle")); layout.SetBinding(RadialLayout.EndAngleProperty, ThisBinding("EndAngle")); layout.SetBinding(RadialLayout.CircleProperty, ThisBinding("Circle")); Layouts.Add(layout); }
private void Radial_Click(object sender, RoutedEventArgs e) { ComponentFactory.Quicksilver.Layout.RadialLayout layout = new ComponentFactory.Quicksilver.Layout.RadialLayout(); TargetPanel.LayoutDefinitions.Clear(); TargetPanel.LayoutDefinitions.Add(layout); }