Method Func
Func(Func<View?, int>, View?)
Creates a function Dim object that computes the dimension based on the passed view and by executing the provided function. The function will be called every time the dimension is needed.
public static Dim Func(Func<View?, int> function, View? view = null)
Parameters
function
Func<View, int>The function to be executed.
view
ViewThe view where the data will be retrieved.