Method Conditional
Conditional(Enabler, params IDrawer[])
Conditioned drawer that will only be drawn if its enabler function is null or return true
선언
public static CoreEditorDrawer<TData>.IDrawer Conditional(CoreEditorDrawer<TData>.Enabler enabler, params CoreEditorDrawer<TData>.IDrawer[] contentDrawers)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| CoreEditorDrawer<TData>.Enabler | enabler | Enable the drawing if null or return true |
| IDrawer[] | contentDrawers | The content of the group |
반환
| 타입 | 설명 |
|---|---|
| CoreEditorDrawer<TData>.IDrawer |
Conditional(Enabler, params ActionDrawer[])
Conditioned drawer that will only be drawn if its enabler function is null or return true
선언
public static CoreEditorDrawer<TData>.IDrawer Conditional(CoreEditorDrawer<TData>.Enabler enabler, params CoreEditorDrawer<TData>.ActionDrawer[] contentDrawers)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| CoreEditorDrawer<TData>.Enabler | enabler | Enable the drawing if null or return true |
| ActionDrawer[] | contentDrawers | The content of the group |
반환
| 타입 | 설명 |
|---|---|
| CoreEditorDrawer<TData>.IDrawer |