Method Conditional
Conditional(Enabler, params IDrawer[])
Conditioned drawer that will only be drawn if its enabler function is null or return true
Declaration
public static CoreEditorDrawer<TData>.IDrawer Conditional(CoreEditorDrawer<TData>.Enabler enabler, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
Parameters
Type | Name | Description |
---|---|---|
CoreEditorDrawer<TData>.Enabler | enabler | Enable the drawing if null or return true |
IDrawer[] | contentDrawers | The content of the group |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |
Conditional(Enabler, params ActionDrawer[])
Conditioned drawer that will only be drawn if its enabler function is null or return true
Declaration
public static CoreEditorDrawer<TData>.IDrawer Conditional(CoreEditorDrawer<TData>.Enabler enabler, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
Parameters
Type | Name | Description |
---|---|---|
CoreEditorDrawer<TData>.Enabler | enabler | Enable the drawing if null or return true |
ActionDrawer[] | contentDrawers | The content of the group |
Returns
Type | Description |
---|---|
CoreEditorDrawer<TData>.IDrawer | A IDrawer object |