IResourceProvider Interface

Summary

Represents an object that can be queried for resources.
Namespace
Avalonia.Controls
Implementing Types
graph BT Type["IResourceProvider"] class Type type-node Implementing0["IMenuItem"]-.->Type click Implementing0 "/api/Avalonia.Controls/IMenuItem" Implementing1["IVirtualizingPanel"]-.->Type click Implementing1 "/api/Avalonia.Controls/IVirtualizingPanel" Implementing2["ReactiveWindow<TViewModel>"]-.->Type click Implementing2 "/api/Avalonia.ReactiveUI/ReactiveWindow_1" Implementing3["Styles"]-.->Type click Implementing3 "/api/Avalonia.Styling/Styles" Implementing4["TreeView"]-.->Type click Implementing4 "/api/Avalonia.Controls/TreeView" Implementing5["ScrollGestureRecognizer"]-.->Type click Implementing5 "/api/Avalonia.Input.GestureRecognizers/ScrollGestureRecognizer" Implementing6["Thumb"]-.->Type click Implementing6 "/api/Avalonia.Controls.Primitives/Thumb" Implementing7["Separator"]-.->Type click Implementing7 "/api/Avalonia.Controls/Separator" Implementing8["ComboBox"]-.->Type click Implementing8 "/api/Avalonia.Controls/ComboBox" Implementing9["UserControl"]-.->Type click Implementing9 "/api/Avalonia.Controls/UserControl" Implementing10["Decorator"]-.->Type click Implementing10 "/api/Avalonia.Controls/Decorator" Implementing11["Slider"]-.->Type click Implementing11 "/api/Avalonia.Controls/Slider" Implementing12["ContextMenu"]-.->Type click Implementing12 "/api/Avalonia.Controls/ContextMenu" Implementing13["Ellipse"]-.->Type click Implementing13 "/api/Avalonia.Controls.Shapes/Ellipse" Implementing14["OverlayLayer"]-.->Type click Implementing14 "/api/Avalonia.Controls.Primitives/OverlayLayer" Implementing15["RadioButton"]-.->Type click Implementing15 "/api/Avalonia.Controls/RadioButton" Implementing16["Control"]-.->Type click Implementing16 "/api/Avalonia.Controls/Control" Implementing17["ListBox"]-.->Type click Implementing17 "/api/Avalonia.Controls/ListBox" Implementing18["SelectingItemsControl"]-.->Type click Implementing18 "/api/Avalonia.Controls.Primitives/SelectingItemsControl" Implementing19["AdornerLayer"]-.->Type click Implementing19 "/api/Avalonia.Controls.Primitives/AdornerLayer" Implementing20["PopupRoot"]-.->Type click Implementing20 "/api/Avalonia.Controls.Primitives/PopupRoot" Implementing21["Layoutable"]-.->Type click Implementing21 "/api/Avalonia.Layout/Layoutable" Implementing22["ViewModelViewHost"]-.->Type click Implementing22 "/api/Avalonia.ReactiveUI/ViewModelViewHost" Implementing23["IMenuElement"]-.->Type click Implementing23 "/api/Avalonia.Controls/IMenuElement" Implementing24["HeaderedItemsControl"]-.->Type click Implementing24 "/api/Avalonia.Controls.Primitives/HeaderedItemsControl" Implementing25["MenuItem"]-.->Type click Implementing25 "/api/Avalonia.Controls/MenuItem" Implementing26["InputElement"]-.->Type click Implementing26 "/api/Avalonia.Input/InputElement" Implementing27["ItemsRepeater"]-.->Type click Implementing27 "/api/Avalonia.Controls/ItemsRepeater" Implementing28["ComboBoxItem"]-.->Type click Implementing28 "/api/Avalonia.Controls/ComboBoxItem" Implementing29["WrapPanel"]-.->Type click Implementing29 "/api/Avalonia.Controls/WrapPanel" Implementing30["Viewbox"]-.->Type click Implementing30 "/api/Avalonia.Controls/Viewbox" Implementing31["AutoCompleteBox"]-.->Type click Implementing31 "/api/Avalonia.Controls/AutoCompleteBox" Implementing32["TabControl"]-.->Type click Implementing32 "/api/Avalonia.Controls/TabControl" Implementing33["Menu"]-.->Type click Implementing33 "/api/Avalonia.Controls/Menu" Implementing34["DataGridRowGroupHeader"]-.->Type click Implementing34 "/api/Avalonia.Controls/DataGridRowGroupHeader" Implementing35["StackPanel"]-.->Type click Implementing35 "/api/Avalonia.Controls/StackPanel" Implementing36["TabItem"]-.->Type click Implementing36 "/api/Avalonia.Controls/TabItem" Implementing37["Interactive"]-.->Type click Implementing37 "/api/Avalonia.Interactivity/Interactive" Implementing38["ItemsPresenterBase"]-.->Type click Implementing38 "/api/Avalonia.Controls.Presenters/ItemsPresenterBase" Implementing39["ListBoxItem"]-.->Type click Implementing39 "/api/Avalonia.Controls/ListBoxItem" Implementing40["ScrollViewer"]-.->Type click Implementing40 "/api/Avalonia.Controls/ScrollViewer" Implementing41["CalendarItem"]-.->Type click Implementing41 "/api/Avalonia.Controls.Primitives/CalendarItem" Implementing42["ResourceInclude"]-.->Type click Implementing42 "/api/Avalonia.Markup.Xaml.MarkupExtensions/ResourceInclude" Implementing43["Popup"]-.->Type click Implementing43 "/api/Avalonia.Controls.Primitives/Popup" Implementing44["DevTools"]-.->Type click Implementing44 "/api/Avalonia.Diagnostics/DevTools" Implementing45["DataGridDetailsPresenter"]-.->Type click Implementing45 "/api/Avalonia.Controls.Primitives/DataGridDetailsPresenter" Implementing46["TreeViewItem"]-.->Type click Implementing46 "/api/Avalonia.Controls/TreeViewItem" Implementing47["Shape"]-.->Type click Implementing47 "/api/Avalonia.Controls.Shapes/Shape" Implementing48["IResourceDictionary"]-.->Type click Implementing48 "/api/Avalonia.Controls/IResourceDictionary" Implementing49["DataGridCell"]-.->Type click Implementing49 "/api/Avalonia.Controls/DataGridCell" Implementing50["ResourceDictionary"]-.->Type click Implementing50 "/api/Avalonia.Controls/ResourceDictionary" Implementing51["VisualLayerManager"]-.->Type click Implementing51 "/api/Avalonia.Controls.Primitives/VisualLayerManager" Implementing52["Style"]-.->Type click Implementing52 "/api/Avalonia.Styling/Style" Implementing53["ButtonSpinner"]-.->Type click Implementing53 "/api/Avalonia.Controls/ButtonSpinner" Implementing54["ProgressBar"]-.->Type click Implementing54 "/api/Avalonia.Controls/ProgressBar" Implementing55["StyleInclude"]-.->Type click Implementing55 "/api/Avalonia.Markup.Xaml.Styling/StyleInclude" Implementing56["RepeatButton"]-.->Type click Implementing56 "/api/Avalonia.Controls/RepeatButton" Implementing57["TransitioningContentControl"]-.->Type click Implementing57 "/api/Avalonia.ReactiveUI/TransitioningContentControl" Implementing58["HeaderedSelectingItemsControl"]-.->Type click Implementing58 "/api/Avalonia.Controls.Primitives/HeaderedSelectingItemsControl" Implementing59["Path"]-.->Type click Implementing59 "/api/Avalonia.Controls.Shapes/Path" Implementing60["IMenu"]-.->Type click Implementing60 "/api/Avalonia.Controls/IMenu" Implementing61["Panel"]-.->Type click Implementing61 "/api/Avalonia.Controls/Panel" Implementing62["AccessText"]-.->Type click Implementing62 "/api/Avalonia.Controls.Primitives/AccessText" Implementing63["ItemsPresenter"]-.->Type click Implementing63 "/api/Avalonia.Controls.Presenters/ItemsPresenter" Implementing64["TabStrip"]-.->Type click Implementing64 "/api/Avalonia.Controls.Primitives/TabStrip" Implementing65["DataGridRow"]-.->Type click Implementing65 "/api/Avalonia.Controls/DataGridRow" Implementing66["UniformGrid"]-.->Type click Implementing66 "/api/Avalonia.Controls.Primitives/UniformGrid" Implementing67["Spinner"]-.->Type click Implementing67 "/api/Avalonia.Controls/Spinner" Implementing68["ReversibleStackPanel"]-.->Type click Implementing68 "/api/Avalonia.Controls/ReversibleStackPanel" Implementing69["IResourceNode"]-.->Type click Implementing69 "/api/Avalonia.Controls/IResourceNode" Implementing70["DropDown"]-.->Type click Implementing70 "/api/Avalonia.Controls/DropDown" Implementing71["ItemsControl"]-.->Type click Implementing71 "/api/Avalonia.Controls/ItemsControl" Implementing72["Calendar"]-.->Type click Implementing72 "/api/Avalonia.Controls/Calendar" Implementing73["RangeBase"]-.->Type click Implementing73 "/api/Avalonia.Controls.Primitives/RangeBase" Implementing74["DataGridRowsPresenter"]-.->Type click Implementing74 "/api/Avalonia.Controls.Primitives/DataGridRowsPresenter" Implementing75["AutoCompleteBox.BindingEvaluator<T>"]-.->Type click Implementing75 "/api/Avalonia.Controls/BindingEvaluator_1" Implementing76["TabStripItem"]-.->Type click Implementing76 "/api/Avalonia.Controls.Primitives/TabStripItem" Implementing77["GridSplitter"]-.->Type click Implementing77 "/api/Avalonia.Controls/GridSplitter" Implementing78["Polyline"]-.->Type click Implementing78 "/api/Avalonia.Controls.Shapes/Polyline" Implementing79["DataGridFrozenGrid"]-.->Type click Implementing79 "/api/Avalonia.Controls.Primitives/DataGridFrozenGrid" Implementing80["ToolTip"]-.->Type click Implementing80 "/api/Avalonia.Controls/ToolTip" Implementing81["CalendarButton"]-.->Type click Implementing81 "/api/Avalonia.Controls.Primitives/CalendarButton" Implementing82["IContentControl"]-.->Type click Implementing82 "/api/Avalonia.Controls/IContentControl" Implementing83["ISetResourceParent"]-.->Type click Implementing83 "/api/Avalonia.Controls/ISetResourceParent" Implementing84["Rectangle"]-.->Type click Implementing84 "/api/Avalonia.Controls.Shapes/Rectangle" Implementing85["Border"]-.->Type click Implementing85 "/api/Avalonia.Controls/Border" Implementing86["DataGridRowHeader"]-.->Type click Implementing86 "/api/Avalonia.Controls.Primitives/DataGridRowHeader" Implementing87["HeaderedContentControl"]-.->Type click Implementing87 "/api/Avalonia.Controls.Primitives/HeaderedContentControl" Implementing88["IStyle"]-.->Type click Implementing88 "/api/Avalonia.Styling/IStyle" Implementing89["NumericUpDown"]-.->Type click Implementing89 "/api/Avalonia.Controls/NumericUpDown" Implementing90["IContentPresenter"]-.->Type click Implementing90 "/api/Avalonia.Controls.Presenters/IContentPresenter" Implementing91["EmbeddableControlRoot"]-.->Type click Implementing91 "/api/Avalonia.Controls.Embedding/EmbeddableControlRoot" Implementing92["Canvas"]-.->Type click Implementing92 "/api/Avalonia.Controls/Canvas" Implementing93["RemoteWidget"]-.->Type click Implementing93 "/api/Avalonia.Controls.Remote/RemoteWidget" Implementing94["Line"]-.->Type click Implementing94 "/api/Avalonia.Controls.Shapes/Line" Implementing95["ContentPresenter"]-.->Type click Implementing95 "/api/Avalonia.Controls.Presenters/ContentPresenter" Implementing96["ScrollContentPresenter"]-.->Type click Implementing96 "/api/Avalonia.Controls.Presenters/ScrollContentPresenter" Implementing97["NativeMenuBar"]-.->Type click Implementing97 "/api/Avalonia.Controls/NativeMenuBar" Implementing98["ReactiveUserControl<TViewModel>"]-.->Type click Implementing98 "/api/Avalonia.ReactiveUI/ReactiveUserControl_1" Implementing99["CheckBox"]-.->Type click Implementing99 "/api/Avalonia.Controls/CheckBox" Implementing100["CalendarDayButton"]-.->Type click Implementing100 "/api/Avalonia.Controls.Primitives/CalendarDayButton" Implementing101["ToggleButton"]-.->Type click Implementing101 "/api/Avalonia.Controls.Primitives/ToggleButton" Implementing102["DockPanel"]-.->Type click Implementing102 "/api/Avalonia.Controls/DockPanel" Implementing103["DataGridColumnHeader"]-.->Type click Implementing103 "/api/Avalonia.Controls/DataGridColumnHeader" Implementing104["Expander"]-.->Type click Implementing104 "/api/Avalonia.Controls/Expander" Implementing105["DatePicker"]-.->Type click Implementing105 "/api/Avalonia.Controls/DatePicker" Implementing106["Track"]-.->Type click Implementing106 "/api/Avalonia.Controls.Primitives/Track" Implementing107["TextBox"]-.->Type click Implementing107 "/api/Avalonia.Controls/TextBox" Implementing108["RoutedViewHost"]-.->Type click Implementing108 "/api/Avalonia.ReactiveUI/RoutedViewHost" Implementing109["Visual"]-.->Type click Implementing109 "/api/Avalonia/Visual" Implementing110["Image"]-.->Type click Implementing110 "/api/Avalonia.Controls/Image" Implementing111["VirtualizingStackPanel"]-.->Type click Implementing111 "/api/Avalonia.Controls/VirtualizingStackPanel" Implementing112["IStyledElement"]-.->Type click Implementing112 "/api/Avalonia/IStyledElement" Implementing113["IControl"]-.->Type click Implementing113 "/api/Avalonia.Controls/IControl" Implementing114["DrawingPresenter"]-.->Type click Implementing114 "/api/Avalonia.Controls/DrawingPresenter" Implementing115["ContentControl"]-.->Type click Implementing115 "/api/Avalonia.Controls/ContentControl" Implementing116["DefaultTheme"]-.->Type click Implementing116 "/api/Avalonia.Themes.Default/DefaultTheme" Implementing117["CarouselPresenter"]-.->Type click Implementing117 "/api/Avalonia.Controls.Presenters/CarouselPresenter" Implementing118["Button"]-.->Type click Implementing118 "/api/Avalonia.Controls/Button" Implementing119["Polygon"]-.->Type click Implementing119 "/api/Avalonia.Controls.Shapes/Polygon" Implementing120["DataGrid"]-.->Type click Implementing120 "/api/Avalonia.Controls/DataGrid" Implementing121["StyledElement"]-.->Type click Implementing121 "/api/Avalonia/StyledElement" Implementing122["TemplatedControl"]-.->Type click Implementing122 "/api/Avalonia.Controls.Primitives/TemplatedControl" Implementing123["LayoutTransformControl"]-.->Type click Implementing123 "/api/Avalonia.Controls/LayoutTransformControl" Implementing124["DataGridColumnHeadersPresenter"]-.->Type click Implementing124 "/api/Avalonia.Controls.Primitives/DataGridColumnHeadersPresenter" Implementing125["DropDownItem"]-.->Type click Implementing125 "/api/Avalonia.Controls/DropDownItem" Implementing126["WindowNotificationManager"]-.->Type click Implementing126 "/api/Avalonia.Controls.Notifications/WindowNotificationManager" Implementing127["IPanel"]-.->Type click Implementing127 "/api/Avalonia.Controls/IPanel" Implementing128["TextPresenter"]-.->Type click Implementing128 "/api/Avalonia.Controls.Presenters/TextPresenter" Implementing129["ScrollBar"]-.->Type click Implementing129 "/api/Avalonia.Controls.Primitives/ScrollBar" Implementing130["IPresenter"]-.->Type click Implementing130 "/api/Avalonia.Controls.Presenters/IPresenter" Implementing131["DataGridCellsPresenter"]-.->Type click Implementing131 "/api/Avalonia.Controls.Primitives/DataGridCellsPresenter" Implementing132["NotificationCard"]-.->Type click Implementing132 "/api/Avalonia.Controls.Notifications/NotificationCard" Implementing133["Grid"]-.->Type click Implementing133 "/api/Avalonia.Controls/Grid" Implementing134["TextBlock"]-.->Type click Implementing134 "/api/Avalonia.Controls/TextBlock" Implementing135["DataValidationErrors"]-.->Type click Implementing135 "/api/Avalonia.Controls/DataValidationErrors" Implementing136["Window"]-.->Type click Implementing136 "/api/Avalonia.Controls/Window" Implementing137["IItemsPresenter"]-.->Type click Implementing137 "/api/Avalonia.Controls.Presenters/IItemsPresenter" Implementing138["Application"]-.->Type click Implementing138 "/api/Avalonia/Application" Implementing139["Carousel"]-.->Type click Implementing139 "/api/Avalonia.Controls/Carousel" Implementing140["WindowBase"]-.->Type click Implementing140 "/api/Avalonia.Controls/WindowBase" Implementing141["AboutAvaloniaDialog"]-.->Type click Implementing141 "/api/Avalonia.Dialogs/AboutAvaloniaDialog" Implementing142["OverlayPopupHost"]-.->Type click Implementing142 "/api/Avalonia.Controls.Primitives/OverlayPopupHost" Implementing143["MenuBase"]-.->Type click Implementing143 "/api/Avalonia.Controls/MenuBase" Implementing144["TopLevel"]-.->Type click Implementing144 "/api/Avalonia.Controls/TopLevel"

Syntax

public interface IResourceProvider

Events

Name Type Summary
ResourcesChanged EventHandler<ResourcesChangedEventArgs>
Raised when resources in the provider are changed.

Properties

Name Value Summary
HasResources bool
Gets a value indicating whether the element has resources.

Methods

Name Value Summary
TryGetResource(object, object) bool
Tries to find a resource within the provider.