TabbedPage

Namespace: WellFired.Guacamole

Inherits: WellFired.Guacamole.Views.ItemsView

Description

public-static-attrib

readonly BindableProperty SelectedPageProperty

Properties

object SelectedPage { get; set; }

Public Methods

  TabbedPage ( )
override void SetStyleDictionary ( IStyleDictionary styleDictionary )

protected-func

override void ItemSourceChanged ( )
override void ItemSourceCleared ( )
override void ItemAdded ( object item, int index )
override void ItemRemoved ( object item )
override void ItemReplaced ( object oldItem, object newItem, int index )
override void OnBindablePropertyChanged ( object sender, PropertyChangedEventArgs e )

Breakdown

  • object SelectedPage { get; set; }

    Description

    Selected Page is the value of the backstore that should have corresponding tab view displayed. Note that the selected page should belong to the list of ItemsView.ItemSource.

  • TabbedPage ( )
  • override void SetStyleDictionary ( IStyleDictionary styleDictionary )

    Description

    Applies the styles defined by a dictionary to the view’s content and all its children.

    Parameters

    styleDictionary
  • override void ItemSourceChanged ( )

    Description

    This is called when the whole ItemSource is changed. I.E. ItemSource = new collection();

  • override void ItemSourceCleared ( )

    Description

    This is called when the ItemSource is cleared. I.E. ItemSource.Clear(); Note : This is only called if ItemSource is an ObservableCollection.

  • override void ItemAdded ( object item, int index )

    Description

    This is called when a new Item is added to the ItemSource. Note : This is only called if ItemSource is an ObservableCollection.

    Parameters

    item The new item
    index The new position this element was added at.
  • override void ItemRemoved ( object item )

    Description

    This is called when an item is removed from the ItemSource Note : This is only called if ItemSource is an ObservableCollection.

    Parameters

    item The removed Item
  • override void ItemReplaced ( object oldItem, object newItem, int index )

    Description

    This is called when an item is replaced within the ItemSource. Note : This is only called if ItemSource is an ObservableCollection.

    Parameters

    oldItem The item that used to exist
    newItem The new item
    index The index into the ItemSource that you will find this item
  • override void OnBindablePropertyChanged ( object sender, PropertyChangedEventArgs e )