Example #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;
     }
 }
Example #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;
     }
 }
Example #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;
 }
Example #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;
 }