/// <summary> /// Constructor taking size and mode type. /// </summary> /// <param name="size">size value.</param> /// <param name="mode">mode vaue.</param> public MeasureSpecification(LayoutLengthEx size, MeasureSpecification.ModeType mode) { Size = size; Mode = mode; }
/// <summary> /// Constructor /// </summary> /// <param name="measuredSize">size parameter</param> /// <param name="state">State</param> public MeasuredSizeEx(LayoutLengthEx measuredSize, MeasuredSizeEx.StateType state) { Size = measuredSize; State = state; }