IResourceProvider Interface

Summary

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

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(string, object) bool
Tries to find a resource within the provider.