22 references to ToolbarPlacement
Microsoft.Maui.Controls (22)
artifacts\obj\Controls.Core\Debug\net9.0-windows10.0.20348.0\XamlTypeInfo.g.cs (6)
312
_typeTable[47] = typeof(global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
);
444
private void StaticInitializer_47_ToolbarPlacement() => global::System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(typeof(global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
).TypeHandle);
824
userType.AddEnumValue("Default", global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
.Default);
825
userType.AddEnumValue("Top", global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
.Top);
826
userType.AddEnumValue("Bottom", global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
.Bottom);
1424
that.ToolbarPlacement = (global::Microsoft.Maui.Controls.PlatformConfiguration.WindowsSpecific.
ToolbarPlacement
)Value;
Platform\Windows\PageControl.cs (2)
37
ToolbarPlacement
_toolbarPlacement;
96
public
ToolbarPlacement
ToolbarPlacement
Platform\Windows\ToolbarPlacementHelper.cs (6)
15
Func<
ToolbarPlacement
> _getToolbarPlacement;
19
public void Initialize(CommandBar commandBar, Func<
ToolbarPlacement
> getToolbarPlacement,
52
static void UpdateToolbarPlacement(CommandBar toolbar,
ToolbarPlacement
toolbarPlacement, WBorder bottomCommandBarArea,
63
case
ToolbarPlacement
.Top:
66
case
ToolbarPlacement
.Bottom:
69
case
ToolbarPlacement
.Default:
PlatformConfiguration\WindowsSpecific\Page.cs (8)
23
BindableProperty.CreateAttached("ToolbarPlacement", typeof(
ToolbarPlacement
),
24
typeof(FormsElement),
ToolbarPlacement
.Default);
31
public static
ToolbarPlacement
GetToolbarPlacement(BindableObject element)
33
return (
ToolbarPlacement
)element.GetValue(ToolbarPlacementProperty);
41
public static void SetToolbarPlacement(BindableObject element,
ToolbarPlacement
toolbarPlacement)
51
public static
ToolbarPlacement
GetToolbarPlacement(this IPlatformElementConfiguration<Windows, FormsElement> config)
53
return (
ToolbarPlacement
)config.Element.GetValue(ToolbarPlacementProperty);
63
this IPlatformElementConfiguration<Windows, FormsElement> config,
ToolbarPlacement
value)