GetDefaultSize Method
GetDefaultSize(Type, Boolean)
Gets the default size for new controls of the specified type, or new Size(double.NaN, double.NaN) if no default size was registered.
Declaration
public static Size? GetDefaultSize(Type t, bool checkBasetype = true)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t | |
System.Boolean | checkBasetype |
Returns
Type | Description |
---|---|
System.Nullable<System.Windows.Size> |