コード例 #1
0
ファイル: ColorPicker.cs プロジェクト: yovannyr/PropertyTools
 /// <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;
     }
 }
コード例 #2
0
ファイル: ColorPicker.cs プロジェクト: zyj0021/PropertyTools
 /// <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;
     }
 }
コード例 #3
0
ファイル: ColorPicker2.cs プロジェクト: betology/SambaPOS-3
 /// <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;
 }
コード例 #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;
 }