Constructor DimFunc
DimFunc(Func<View?, int>, View?)
Represents a function Dim object that computes the dimension based on the passed view and by executing the provided function.
public DimFunc(Func<View?, int> Fn, View? View = null)
Parameters
FnFunc<View, int>The function that computes the dimension. If this function throws LayoutException...
ViewViewThe Dim returned from the function based on the passed view.
Remarks
This is a low-level API that is typically used internally by the layout system. Use the various static methods on the Dim class to create Dim objects instead.
DimFunc(DimFunc)
protected DimFunc(DimFunc original)
Parameters
originalDimFunc