15 references to _defaultVisualType
Microsoft.Maui.Controls (15)
Registrar.cs (15)
49
static Type[] _defaultVisualRenderers = new[] {
_defaultVisualType
};
102
internal TRegistrable GetHandler(Type type) => GetHandler(type,
_defaultVisualType
);
106
Type handlerType = GetHandlerType(type, visualType ??
_defaultVisualType
);
122
returnValue = GetHandler(type, visual?.GetType() ??
_defaultVisualType
);
126
Type handlerType = GetHandlerType(type, visual?.GetType() ??
_defaultVisualType
);
168
public Type GetHandlerType(Type viewType) => GetHandlerType(viewType,
_defaultVisualType
);
173
visualType = visualType ??
_defaultVisualType
;
182
if (visualType !=
_defaultVisualType
&& visualRenderers != null)
183
if (visualRenderers.TryGetValue(
_defaultVisualType
, out HandlerType specificTypeRenderer))
209
visualType = visualType ??
_defaultVisualType
;
216
if (visualType !=
_defaultVisualType
&& visualRenderers != null)
217
if (visualRenderers.TryGetValue(
_defaultVisualType
, out handlerType))
229
visualType = visualType ??
_defaultVisualType
;
241
visualRenderers.ContainsKey(
_defaultVisualType
)))
262
if (attribute2.SupportedVisuals[i] ==
_defaultVisualType
)