public DataGridColumnStyle(PropertyDescriptor prop) { property_descriptor = prop; fontheight = -1; table_style = null; header_text = string.Empty; mapping_name = string.Empty; null_text = def_null_text; accesible_object = new DataGridColumnHeaderAccessibleObject(this); _readonly = prop == null ? false : prop.IsReadOnly; width = -1; grid = null; is_default = false; alignment = HorizontalAlignment.Left; }
public void Ctor_Default() { var accessibleObject = new DataGridColumnHeaderAccessibleObject(); Assert.Equal(AccessibleRole.ColumnHeader, accessibleObject.Role); }
public DataGridColumnStyle (PropertyDescriptor prop) { property_descriptor = prop; fontheight = -1; table_style = null; header_text = string.Empty; mapping_name = string.Empty; null_text = def_null_text; accesible_object = new DataGridColumnHeaderAccessibleObject (this); _readonly = prop == null ? false : prop.IsReadOnly; width = -1; grid = null; is_default = false; alignment = HorizontalAlignment.Left; }