Ejemplo n.º 1
0
 /// <summary>
 /// Called when <see cref="M:System.Windows.FrameworkElement.ApplyTemplate" /> is called.
 /// </summary>
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.colorPickerPanel = this.GetTemplateChild(PartColorPickerPanel) as ColorPickerPanel;
     if (this.colorPickerPanel != null)
     {
         this.colorPickerPanel.PredefinedColorPanelSelectionChangedEvent += this.OnPredefinedColorPanelSelectionChanged;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Called when <see cref="M:System.Windows.FrameworkElement.ApplyTemplate" /> is called.
 /// </summary>
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.colorPickerPanel = this.GetTemplateChild(PartColorPickerPanel) as ColorPickerPanel;
     if (this.colorPickerPanel != null)
     {
         this.colorPickerPanel.PredefinedColorPanelSelectionChangedEvent += this.OnPredefinedColorPanelSelectionChanged;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Called when <see cref="M:System.Windows.FrameworkElement.ApplyTemplate"/> is called.
 /// </summary>
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.colorPickerPanel = this.GetTemplateChild(PartColorPickerPanel) as ColorPickerPanel;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Called when <see cref="M:System.Windows.FrameworkElement.ApplyTemplate"/> is called.
 /// </summary>
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.colorPickerPanel = this.GetTemplateChild(PartColorPickerPanel) as ColorPickerPanel;
 }