private object GetValue(IStyledElement control, Type targetType) { return(ColorToBrushConverter.Convert(control.FindResource(ResourceKey), targetType)); }
protected override void Subscribed(IObserver <object?> observer, bool first) { observer.OnNext(Convert(_target.FindResource(_key))); }
private object GetValue(IStyledElement control) { return(control.FindResource(ResourceKey)); }