C# Class Hamekoz.UI.Extensions

Show file Open project: hamekoz/hamekoz-sharp

Public Methods

Method Description
WithLabel ( this widget, string label, bool horizontal = false, bool expand = true, bool fill = true ) : Box
WithScroll ( this widget, ScrollPolicy vertical = ScrollPolicy.Automatic, ScrollPolicy horizontal = ScrollPolicy.Never ) : ScrollView

Method Details

WithLabel() public static method

public static WithLabel ( this widget, string label, bool horizontal = false, bool expand = true, bool fill = true ) : Box
widget this
label string
horizontal bool
expand bool
fill bool
return Box

WithScroll() public static method

public static WithScroll ( this widget, ScrollPolicy vertical = ScrollPolicy.Automatic, ScrollPolicy horizontal = ScrollPolicy.Never ) : ScrollView
widget this
vertical ScrollPolicy
horizontal ScrollPolicy
return Xwt.ScrollView