Implemented interface member:
property
TargetType
Microsoft.Maui.Controls.IStyle.TargetType
1 write to TargetType
Microsoft.Maui.Controls (1)
MergedStyle.cs (1)
36 TargetType = targetType;
4 references to TargetType
Microsoft.Maui.Controls (4)
MergedStyle.cs (4)
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); 130 ClassStyles = _classStyleProperties.Select(p => (Target.GetValue(p) as IList<Style>)?.FirstOrDefault(s => s.CanBeAppliedTo(TargetType))).ToList(); 156 Type type = TargetType;