View¶
Namespace: WellFired.Guacamole
Implements: WellFired.Guacamole.Layouts.ILayoutable, WellFired.Guacamole.IView
Description¶
public-static-attrib¶
| readonly BindableProperty | CornerRadiusProperty |
| readonly BindableProperty | EnabledProperty |
| readonly BindableProperty | BackgroundColorProperty |
| readonly BindableProperty | OutlineColorProperty |
| readonly BindableProperty | OutlineThicknessProperty |
| readonly BindableProperty | OutlineMaskProperty |
| readonly BindableProperty | ControlStateProperty |
| readonly BindableProperty | CornerMaskProperty |
| readonly BindableProperty | MinSizeProperty |
| readonly BindableProperty | MaxSizeProperty |
| readonly BindableProperty | HorizontalLayoutProperty |
| readonly BindableProperty | VerticalLayoutProperty |
| readonly BindableProperty | PaddingProperty |
Properties¶
| UISize | MinSize { get; set; } |
| bool | Enabled { get; set; } |
| LayoutOptions | VerticalLayout { get; set; } |
| UIPadding | Padding { get; set; } |
| Style | Style { get; set; } |
| UIColor | BackgroundColor { get; set; } |
| UIColor | OutlineColor { get; set; } |
| double | OutlineThickness { get; set; } |
| OutlineMask | OutlineMask { get; set; } |
| double | CornerRadius { get; set; } |
| CornerMask | CornerMask { get; set; } |
| LayoutOptions | HorizontalLayout { get; set; } |
| UISize | MaxSize { get; set; } |
| ControlState | ControlState { get; set; } |
| IView | Content { get; set; } |
| UIRect | RectRequest { get; set; } |
| UIRect | ContentRectRequest { get; set; } |
| bool | ValidRectRequest { get; set; } |
| string | Id { get; set; } |
| INativeRenderer | NativeRenderer { get; set; } |
| float | X { get; set; } |
| float | Y { get; set; } |
protected-attrib¶
| UIRect | FinalRenderRect |
| UIRect | FinalContentRenderRect |
| IStyleDictionary | StyleDictionary |
Public Methods¶
| View ( ) | |
| void | Render ( UIRect parentRect ) |
| void | InvalidateRectRequest ( ) |
| void | RaiseEvent ( IEvent raisedEvent ) |
| void | FocusControl ( ) |
| void | SetStyleDictionary ( IStyleDictionary styleDictionary ) |
| void | ResetBindingContext ( INotifyPropertyChanged newBindingContext ) |
protected-func¶
| void | OnBindablePropertyChanged ( object sender, PropertyChangedEventArgs e ) |
Breakdown¶
- readonly BindableProperty ControlStateProperty
- readonly BindableProperty CornerRadiusProperty
- readonly BindableProperty BackgroundColorProperty
- readonly BindableProperty OutlineColorProperty
- readonly BindableProperty OutlineThicknessProperty
- readonly BindableProperty OutlineMaskProperty
- readonly BindableProperty EnabledProperty
- readonly BindableProperty CornerMaskProperty
- readonly BindableProperty MinSizeProperty
- readonly BindableProperty MaxSizeProperty
- readonly BindableProperty HorizontalLayoutProperty
- readonly BindableProperty VerticalLayoutProperty
- readonly BindableProperty PaddingProperty
- LayoutOptions HorizontalLayout { get; set; }
- UISize MinSize { get; set; }
- LayoutOptions VerticalLayout { get; set; }
- UIPadding Padding { get; set; }
- Style Style { get; set; }
- UIColor BackgroundColor { get; set; }
- UIColor OutlineColor { get; set; }
- double OutlineThickness { get; set; }
- OutlineMask OutlineMask { get; set; }
- double CornerRadius { get; set; }
- CornerMask CornerMask { get; set; }
- bool Enabled { get; set; }
- UISize MaxSize { get; set; }
- ControlState ControlState { get; set; }
- IView Content { get; set; }
- UIRect RectRequest { get; set; }
- UIRect ContentRectRequest { get; set; }
- bool ValidRectRequest { get; set; }
- string Id { get; set; }
- INativeRenderer NativeRenderer { get; set; }
- float X { get; set; }
- float Y { get; set; }
- UIRect FinalRenderRect
- UIRect FinalContentRenderRect
- IStyleDictionary StyleDictionary
- View ( )
- void Render ( UIRect parentRect )
- void InvalidateRectRequest ( )
- void RaiseEvent ( IEvent raisedEvent )
- void FocusControl ( )
void SetStyleDictionary ( IStyleDictionary styleDictionary )
Description
Applies the styles defined by a dictionary to the view’s content and all its children.
Parameters
styleDictionary
- void ResetBindingContext ( INotifyPropertyChanged newBindingContext )
- void OnBindablePropertyChanged ( object sender, PropertyChangedEventArgs e )