/// <summary> /// Gets a control to edit the given property</summary> /// <param name="context">Context for property editing control</param> /// <returns>Control to edit the given context</returns> public Control GetEditingControl(PropertyEditorControlContext context) { NumericTupleControl editingControl = new NumericTupleControl(m_numericType, m_names, context); editingControl.Height = editingControl.Font.Height + 2; editingControl.ScaleFactor = m_scaleFactor; editingControl.HideAxisLabel = HideAxisLabel; editingControl.SetLabelBackColors(m_labelColors); SkinService.ApplyActiveSkin(editingControl); return(editingControl); }
/// <summary> /// Gets a control to edit the given property</summary> /// <param name="context">Context for property editing control</param> /// <returns>Control to edit the given context</returns> public Control GetEditingControl(PropertyEditorControlContext context) { NumericTupleControl editingControl = new NumericTupleControl(m_numericType, m_names, context); editingControl.Height = editingControl.Font.Height + 2; editingControl.ScaleFactor = m_scaleFactor; editingControl.HideAxisLabel = HideAxisLabel; editingControl.SetLabelBackColors(m_labelColors); return editingControl; }