/// <summary> Select this label. </summary> public void Select() { if (!_isSelected) { foreach (Label label in _owner.Labels) { label.Deselect(); } _isSelected = true; OnSelected(_sourceData); _borderThickness = _borderThicknessSelected; if (_contentStyle != null) { _contentStyle.fontStyle = FontStyle.Bold; } if (LabelEditorWindow.IsShown) { LabelEditorWindow.Show(this); } Refresh(); } }
protected void ContextEditCallback(object obj) { LabelEditorWindow.Show(this); }