Class FloorFilter
FloorFilter provides a browsing experience for floor-aware maps and scenes, and allows you to filter the view to show a single floor/level.
Implements
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
public class FloorFilter : Control, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceFloorFilter()
Initializes a new instance of the FloorFilter class.
Declaration
public FloorFilter()
Fields
| Improve this Doc View SourceAllFacilitiesLabelProperty
Identifies the AllFacilitiesLabel dependency property.
Declaration
public static readonly DependencyProperty AllFacilitiesLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AllFacilitiesProperty
Identiies the AllFacilities dependency property.
Declaration
public static readonly DependencyProperty AllFacilitiesProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AllFloorsLabelProperty
Identifies the AllFloorsLabel dependency property.
Declaration
public static readonly DependencyProperty AllFloorsLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AllSitesProperty
Identifies the AllSites dependency property.
Declaration
public static readonly DependencyProperty AllSitesProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AutomaticSelectionModeProperty
Identifies the AutomaticSelectionMode dependency property.
Declaration
public static readonly DependencyProperty AutomaticSelectionModeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BackButtonLabelProperty
Identifies the BackButtonLabel dependency property.
Declaration
public static readonly DependencyProperty BackButtonLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BrowseButtonStyleProperty
Identifies the BrowseButtonStyle dependency property.
Declaration
public static readonly DependencyProperty BrowseButtonStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BrowseFacilitiesLabelProperty
Identifies the BrowseFacilitiesLabel dependency property.
Declaration
public static readonly DependencyProperty BrowseFacilitiesLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BrowseLabelProperty
Identifies the BrowseLabel dependency property.
Declaration
public static readonly DependencyProperty BrowseLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
BrowseSitesLabelProperty
Identifies the BrowseSitesLabel dependency property.
Declaration
public static readonly DependencyProperty BrowseSitesLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CloseLabelProperty
Identifies the CloseLabel dependency property.
Declaration
public static readonly DependencyProperty CloseLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CollapseLabelProperty
Identifies the CollapseLabel dependency property.
Declaration
public static readonly DependencyProperty CollapseLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CommonListStyleProperty
Identifies the CommonListStyle dependency property.
Declaration
public static readonly DependencyProperty CommonListStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
DifferentiatingFacilityDataTemplateProperty
Identifies the DifferentiatingFacilityDataTemplate dependency property.
Declaration
public static readonly DependencyProperty DifferentiatingFacilityDataTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
DisplayLevelsProperty
Identifies the DisplayLevels dependency property.
Declaration
public static readonly DependencyProperty DisplayLevelsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ExpandCollapseButtonStyleProperty
Identifies the ExpandCollapseButtonStyle dependency property.
Declaration
public static readonly DependencyProperty ExpandCollapseButtonStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ExpandLabelProperty
Identifies the ExpandLabel dependency property.
Declaration
public static readonly DependencyProperty ExpandLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FacilityDataTemplateProperty
Identifies the FacilityDataTemplate dependency property.
Declaration
public static readonly DependencyProperty FacilityDataTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GeoViewProperty
Identifies the GeoView dependency property.
Declaration
public static readonly DependencyProperty GeoViewProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsBrowseOpenProperty
Identifies the IsBrowseOpen dependency property.
Declaration
public static readonly DependencyProperty IsBrowseOpenProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
IsExpandedProperty
Identifies the "IsExpanded" attached property.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LevelDataTemplateProperty
Identifies the LevelDataTemplate dependency property.
Declaration
public static readonly DependencyProperty LevelDataTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
NoResultsMessageProperty
Identifies the NoResultsMessage dependency property.
Declaration
public static readonly DependencyProperty NoResultsMessageProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SearchPlaceholderProperty
Identifies the SearchPlaceholder dependency property.
Declaration
public static readonly DependencyProperty SearchPlaceholderProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedFacilityProperty
Identifies the SelectedFacility dependency property.
Declaration
public static readonly DependencyProperty SelectedFacilityProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedLevelProperty
Identifies the SelectedLevel dependency property.
Declaration
public static readonly DependencyProperty SelectedLevelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SelectedSiteProperty
Identifies the SelectedSite dependency property.
Declaration
public static readonly DependencyProperty SelectedSiteProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SiteDataTemplateProperty
Identifies the SiteDataTemplate dependency property.
Declaration
public static readonly DependencyProperty SiteDataTemplateProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ZoomToButtonStyleProperty
Identifies the ZoomToButtonStyle dependency property.
Declaration
public static readonly DependencyProperty ZoomToButtonStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ZoomToLabelProperty
Identifies the ZoomToLabel dependency property.
Declaration
public static readonly DependencyProperty ZoomToLabelProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceAllDisplayLevelsSelected
Gets or sets a value indicating whether all of the levels for the selected facility should be enabled for display.
Declaration
public bool AllDisplayLevelsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
This is used for showing an entire facility in 3D.
AllFacilities
Gets the list of all facilities in the floor-aware map or scene.
Declaration
public IList<FloorFacility>? AllFacilities { get; }
Property Value
Type | Description |
---|---|
Nullable<IList<FloorFacility>> |
AllFacilitiesLabel
Gets or sets the label or tooltip shown for the button that is used to navigate to the list of sites in all facilities when the site browsing view is open.
Declaration
public string AllFacilitiesLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
AllFloorsLabel
Gets or sets the label or tooltip shown for the button that shows all levels for a selected facility.
Declaration
public string AllFloorsLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
AllSites
Gets the list of available sites.
Declaration
public IList<FloorSite>? AllSites { get; }
Property Value
Type | Description |
---|---|
Nullable<IList<FloorSite>> |
AutomaticSelectionMode
Gets or sets the value that defines how the SelectedFacility is updated as the GeoView's viewpoint changes.
Declaration
public AutomaticSelectionMode AutomaticSelectionMode { get; set; }
Property Value
Type | Description |
---|---|
AutomaticSelectionMode |
BackButtonLabel
Gets or sets the label or tooltip text shown on the back button used to navigate from the facilities to the site list when the browsing view is open.
Declaration
public string BackButtonLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
BrowseButtonStyle
Gets or sets the style applied to the "Browse" button.
Declaration
public Style? BrowseButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Style> |
BrowseFacilitiesLabel
Gets or sets the label shown on the browsing view header for facilities.
Declaration
public string BrowseFacilitiesLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
BrowseLabel
Gets or sets the label or tooltip shown on the button that opens the browsing view.
Declaration
public string BrowseLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
BrowseSitesLabel
Gets or sets the label or tooltip shown on the browsing view header for sites.
Declaration
public string BrowseSitesLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
CloseLabel
Gets or sets the label or tooltip shown for the button that is used to close the browsing view.
Declaration
public string CloseLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
CollapseLabel
Gets or sets the label or tooltip shown on the expand/collapse button when the FloorFilter is expanded.
Declaration
public string CollapseLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
CommonListStyle
Gets or sets the style applied to list views.
Declaration
public Style? CommonListStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Style> |
DifferentiatingFacilityDataTemplate
Gets or sets the data template used to present
Declaration
public DataTemplate? DifferentiatingFacilityDataTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
DisplayLevels
Gets the list of levels in the currently-selected facility.
Declaration
public IList<FloorLevel>? DisplayLevels { get; }
Property Value
Type | Description |
---|---|
Nullable<IList<FloorLevel>> |
ExpandCollapseButtonStyle
Gets or sets the style applied to the "Expand"/"Collapse" button.
Declaration
public Style? ExpandCollapseButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Style> |
ExpandLabel
Gets or sets the label or tooltip shown on the expand/collapse button when the FloorFilter is collapsed.
Declaration
public string ExpandLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
FacilityDataTemplate
Gets or sets the template used to present
Declaration
public DataTemplate? FacilityDataTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
GeoView
Gets or sets the GeoView associated with this view.
Declaration
public GeoView? GeoView { get; set; }
Property Value
Type | Description |
---|---|
Nullable<GeoView> |
IsBrowseOpen
Gets or sets a value indicating whether the browsing view is open.
Declaration
public bool IsBrowseOpen { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
LevelDataTemplate
Gets or sets the template used to present
Declaration
public DataTemplate? LevelDataTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
NoResultsMessage
Gets or sets the message shown to the user when a list or filtered list is empty.
Declaration
public string NoResultsMessage { get; set; }
Property Value
Type | Description |
---|---|
String |
SearchPlaceholder
Gets or sets the text shown as a placeholder in search/filter boxes in the browsing view.
Declaration
public string SearchPlaceholder { get; set; }
Property Value
Type | Description |
---|---|
String |
SelectedBrowseTab
Gets or sets the tab in the browsing experience that should be active.
Declaration
public int SelectedBrowseTab { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
SelectedFacility
Gets or sets the selected facility.
Declaration
public FloorFacility? SelectedFacility { get; set; }
Property Value
Type | Description |
---|---|
Nullable<FloorFacility> |
SelectedLevel
Gets or sets the selected level.
Declaration
public FloorLevel? SelectedLevel { get; set; }
Property Value
Type | Description |
---|---|
Nullable<FloorLevel> |
SelectedSite
Gets or sets the currently selected site.
Declaration
public FloorSite? SelectedSite { get; set; }
Property Value
Type | Description |
---|---|
Nullable<FloorSite> |
ShowAllFloorsButton
Gets a value indicating whether the floor filter should display an 'All Floors' button.
Declaration
public bool ShowAllFloorsButton { get; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
The 'All Floors' button is useful in 3D.
ShowFacilityBrowseLabel
Gets a value indicating whether the browse view should show BrowseFacilitiesLabel rather than BrowseSitesLabel.
Declaration
public bool ShowFacilityBrowseLabel { get; }
Property Value
Type | Description |
---|---|
Boolean |
ShowSiteNameSubtitle
Gets a value indicating whether the selected site's name should be displayed in the browse experience.
Declaration
public bool ShowSiteNameSubtitle { get; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
The site name label is redundant when browsing all sites and when on the site tab.
SiteDataTemplate
Gets or sets the data template used to present
Declaration
public DataTemplate? SiteDataTemplate { get; set; }
Property Value
Type | Description |
---|---|
Nullable<DataTemplate> |
ZoomToButtonStyle
Gets or sets the style that is applied to the "Zoom To" button.
Declaration
public Style? ZoomToButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Style> |
ZoomToLabel
Gets or sets the label or tooltip shown on the button that zooms to the currently selected site or facility.
Declaration
public string ZoomToLabel { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceGetIsExpanded(DependencyObject)
Gets a value indicating whether the given dependency object is in an expanded state.
Declaration
public static bool GetIsExpanded(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj |
Returns
Type | Description |
---|---|
Boolean |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
SetIsExpanded(DependencyObject, Boolean)
Sets a value indicating whether the given dependency object is in an expanded state.
Declaration
public static void SetIsExpanded(DependencyObject obj, bool value)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | obj | |
Boolean | value |
SetSelectedFacilityWithoutZoom(FloorFacility)
Sets the SelectedFacility without triggering a GeoView navigation.
Declaration
public void SetSelectedFacilityWithoutZoom(FloorFacility newSelection)
Parameters
Type | Name | Description |
---|---|---|
FloorFacility | newSelection |
SetSelectedLevelWithoutZoom(FloorLevel)
Sets the SelectedLevel without triggering a GeoView navigation.
Declaration
public void SetSelectedLevelWithoutZoom(FloorLevel newLevel)
Parameters
Type | Name | Description |
---|---|---|
FloorLevel | newLevel |
SetSelectedSiteWithoutZoom(FloorSite)
Sets the SelectedSite without triggering a GeoView navigation.
Declaration
public void SetSelectedSiteWithoutZoom(FloorSite newSelection)
Parameters
Type | Name | Description |
---|---|---|
FloorSite | newSelection |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |