Class LayoutProblemOptions
- Namespace
- Forma
- Assembly
- Forma.dll
Selects what FindLayoutProblems(Control, LayoutProblemOptions) reports.
public sealed class LayoutProblemOptions
- Inheritance
-
LayoutProblemOptions
- Inherited Members
Constructors
LayoutProblemOptions()
Creates options that report every kind with a one pixel tolerance.
public LayoutProblemOptions()
Properties
IgnoreScrollingContainers
Whether to ignore controls that scroll or clip their content by design (scroll containers, lists, data grids, tabs, text fields). Default true.
public bool IgnoreScrollingContainers { get; set; }
Property Value
Kinds
The kinds to report. Default: all.
public LayoutProblemKind Kinds { get; set; }
Property Value
Tolerance
How many pixels a control may extend past its box before it counts. Default 1.
public float Tolerance { get; set; }