FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PipsPager

    struct · ferroui-controls · v0.5.0

    struct PipsPager
    

    Represents a control that lets the user navigate through a paginated collection using a set of pips.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<PipsPager>
    

    Returns a strong reference to this object.

    Source

    max_visible_pips_property

    fn max_visible_pips_property() -> &'static StyledProperty<i32>
    

    Defines the MaxVisiblePips property.

    Source

    is_next_button_visible_property

    fn is_next_button_visible_property() -> &'static StyledProperty<bool>
    

    Defines the IsNextButtonVisible property.

    Source

    number_of_pages_property

    fn number_of_pages_property() -> &'static StyledProperty<i32>
    

    Defines the NumberOfPages property.

    Source

    orientation_property

    fn orientation_property() -> &'static StyledProperty<Orientation>
    

    Defines the Orientation property.

    Source

    is_previous_button_visible_property

    fn is_previous_button_visible_property() -> &'static StyledProperty<bool>
    

    Defines the IsPreviousButtonVisible property.

    Source

    selected_page_index_property

    fn selected_page_index_property() -> &'static StyledProperty<i32>
    

    Defines the SelectedPageIndex property.

    Source

    template_settings_property

    fn template_settings_property() -> &'static DirectProperty<PipsPager, Ref<PipsPagerTemplateSettings>>
    

    Defines the TemplateSettings property.

    Source

    previous_button_theme_property

    fn previous_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
    

    Defines the PreviousButtonTheme property.

    Source

    next_button_theme_property

    fn next_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
    

    Defines the NextButtonTheme property.

    Source

    selected_index_changed_event

    fn selected_index_changed_event() -> &'static RoutedEvent<PipsPagerSelectedIndexChangedEventArgs>
    

    Defines the SelectedIndexChanged event.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Initializes a new instance of the pips pager.

    Source

    selected_index_changed

    fn selected_index_changed(self: &Self, handler: impl Fn(&Interactive, &PipsPagerSelectedIndexChangedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
    

    Occurs when the selected index has changed.

    Source

    max_visible_pips

    fn max_visible_pips(self: &Self) -> i32
    

    Gets or sets the maximum number of visible pips.

    Source

    set_max_visible_pips

    fn set_max_visible_pips(self: &Self, value: i32)
    

    Source

    is_next_button_visible

    fn is_next_button_visible(self: &Self) -> bool
    

    Gets or sets the visibility of the next button.

    Source

    set_is_next_button_visible

    fn set_is_next_button_visible(self: &Self, value: bool)
    

    Source

    number_of_pages

    fn number_of_pages(self: &Self) -> i32
    

    Gets or sets the number of pages.

    Source

    set_number_of_pages

    fn set_number_of_pages(self: &Self, value: i32)
    

    Source

    orientation

    fn orientation(self: &Self) -> Orientation
    

    Gets or sets the orientation of the pips.

    Source

    set_orientation

    fn set_orientation(self: &Self, value: Orientation)
    

    Source

    is_previous_button_visible

    fn is_previous_button_visible(self: &Self) -> bool
    

    Gets or sets the visibility of the previous button.

    Source

    set_is_previous_button_visible

    fn set_is_previous_button_visible(self: &Self, value: bool)
    

    Source

    selected_page_index

    fn selected_page_index(self: &Self) -> i32
    

    Gets or sets the current selected page index.

    Source

    set_selected_page_index

    fn set_selected_page_index(self: &Self, value: i32)
    

    Source

    template_settings

    fn template_settings(self: &Self) -> Ref<PipsPagerTemplateSettings>
    

    Gets the template settings.

    Source

    previous_button_theme

    fn previous_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
    

    Gets or sets the theme for the previous button.

    Source

    set_previous_button_theme

    fn set_previous_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
    

    Source

    next_button_theme

    fn next_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
    

    Gets or sets the theme for the next button.

    Source

    set_next_button_theme

    fn set_next_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.