/// <summary>
 /// Inits components.
 /// </summary>
 protected void _InitComponents()
 {
     _isWideopenCheckBox = this.GetTemplateChild("PART_IsWideopen") as CheckBox;
     _cellTextBlock = this.GetTemplateChild("PART_CellLabel") as TextBlock;
     _popupPanel = this.GetTemplateChild("PART_PopupPanel") as Popup;
     _toTimeTextBox = this.GetTemplateChild("PART_ToTime") as TimeTextBox;
     _fromTimeTextBox = this.GetTemplateChild("PART_FromTime") as TimeTextBox;
     _isDay2CheckBox = this.GetTemplateChild("PART_IsDay2") as CheckBox;
     _topLevelGrid = this.GetTemplateChild("PART_TopLevelGrid") as Grid;
 }
 /// <summary>
 /// Inits components.
 /// </summary>
 protected void _InitComponents()
 {
     _IsWideopen = this.GetTemplateChild("PART_IsWideopen") as CheckBox;
     _CellLabel = this.GetTemplateChild("PART_CellLabel") as TextBlock;
     _PopupPanel = this.GetTemplateChild("PART_PopupPanel") as Popup;
     _ToText = this.GetTemplateChild("PART_ToTime") as TimeTextBox;
     _FromText = this.GetTemplateChild("PART_FromTime") as TimeTextBox;
     _TopLevelGrid = this.GetTemplateChild("PART_TopLevelGrid") as Grid;
 }