3 implementations of TargetType
Microsoft.Maui.Controls (3)
MergedStyle.cs (1)
117 public Type TargetType { get; }
Style.cs (1)
111 public Type TargetType { get; }
StyleSheets\StyleSheet.cs (1)
95 Type IStyle.TargetType => typeof(VisualElement);
2 references to TargetType
Microsoft.Maui.Controls (2)
MergedStyle.cs (2)
48 if (value != null && !value.TargetType.IsAssignableFrom(TargetType)) 49 Application.Current?.FindMauiContext()?.CreateLogger<Style>()?.LogWarning("Style TargetType {FullName} is not compatible with element target type {TargetType}", value.TargetType.FullName, TargetType);