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
Fn
Func<View, int>The function that computes the dimension. If this function throws LayoutException...
View
ViewThe Dim returned from the function based on the passed view.