21 references to VisualMarker
Microsoft.Maui.Controls (21)
Cells\Cell.cs (2)
52 IVisual _effectiveVisual = Microsoft.Maui.Controls.VisualMarker.Default; 65 IVisual IVisualController.Visual => Microsoft.Maui.Controls.VisualMarker.MatchParent;
DependencyResolver.cs (1)
12 static Type _defaultVisualType = typeof(VisualMarker.DefaultVisual);
EffectiveVisualExtensions.cs (2)
12 public static bool IsDefault(this IVisual visual) => visual == VisualMarker.Default; 14 public static bool IsMatchParent(this IVisual visual) => visual == VisualMarker.MatchParent;
HandlerAttribute.cs (1)
18 SupportedVisuals = supportedVisuals ?? new[] { typeof(VisualMarker.DefaultVisual) };
Internals\PropertyPropagationExtensions.cs (1)
86 if (targetController.Visual != VisualMarker.MatchParent)
Registrar.cs (1)
46 static Type _defaultVisualType = typeof(VisualMarker.DefaultVisual);
RenderWithAttribute.cs (2)
12 public RenderWithAttribute([DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type type) : this(type, new[] { typeof(VisualMarker.DefaultVisual) }) 22 SupportedVisuals = supportedVisuals ?? new[] { typeof(VisualMarker.DefaultVisual) };
Shell\BaseShellItem.cs (2)
200 IVisual _effectiveVisual = Microsoft.Maui.Controls.VisualMarker.Default; 213 IVisual IVisualController.Visual => Microsoft.Maui.Controls.VisualMarker.MatchParent;
VisualElement\VisualElement.cs (3)
171 BindableProperty.Create(nameof(Visual), typeof(IVisual), typeof(VisualElement), VisualMarker.MatchParent, 174 static IVisual _defaultVisual = VisualMarker.Default; 1601 self.EffectiveVisual = Microsoft.Maui.Controls.VisualMarker.Default;
Visuals\VisualTypeConverter.cs (6)
42 Register(typeof(VisualMarker.MaterialVisual), mappings); 43 Register(typeof(VisualMarker.DefaultVisual), mappings); 44 Register(typeof(VisualMarker.MatchParentVisual), mappings); 170 return VisualMarker.Default; 184 if (visual == VisualMarker.Default) 200 nameof(VisualMarker.Default),