# resolve_component_resource_in_context

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-designer-tools/function-resolve_component_resource_in_context/

**function** · [`ferroui-designer-tools`](/docs/0.5.0/api/ferroui-designer-tools/) · v0.5.0

```rust
fn resolve_component_resource_in_context(document: &ferroui_designer_core::Document, target: ferroui_designer_core::NodeId, key: &str, context: &ComponentResourceContext) -> Option<ferroui_designer_core::NodeId>
```

Resolve using the actual runtime theme and complete inherited-variant chain.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Designer.Tools/component_resource_refs.rs#L81)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
