Table of Contents

Method GetDefaultSize

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

GetDefaultSize(Type, bool)

Gets the default size for new controls of the specified type, or new Size(double.NaN, double.NaN) if no default size was registered.

public static Size? GetDefaultSize(Type t, bool checkBasetype = true)

Parameters

t Type
checkBasetype bool

Returns

Size?