eDriven Framework API
OptimizeMeasureCalls Field
Namespaces ► eDriven.Gui.Components ► InvalidationManagerClient ► OptimizeMeasureCalls
eDriven Framework API
The flag is telling if the measurement optimization is turned on If it is, then if CanSkipMeasurement() returns true (because of the explicit sizes) the component never gets measured However, when changing the component dimensions from the outside (using Resizable for instance) we would like to know min/max dimensions to know how much we can contract/expand Thus we should switch this optimization off for this kind of components NOTE: true by default
Declaration Syntax

C# | Visual Basic | Visual C++

    public bool OptimizeMeasureCalls

    Public OptimizeMeasureCalls As Boolean

    public:
    bool OptimizeMeasureCalls

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)