Пример #1
0
 public override object ProvideValue(IServiceProvider serviceProvider)
 {
     return(TargetType != null?ThemeManager.GetThemeStyle(TargetType) : null);
 }
Пример #2
0
 protected internal override Binding GetBinding(IServiceProvider serviceProvider)
 {
     return(ThemeManager.GetThemeStyle(TargetType ?? GetSafeTarget(serviceProvider)?.GetType()).StyleService.NativeStyleBinding);
 }