Skip to content

Commit 1e39e60

Browse files
committed
chore: Add missing members
1 parent 116e5d2 commit 1e39e60

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

src/Uno.UI/Generated/3.0.0.0/Microsoft.UI.Xaml.Controls/ICommandBarElement.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ namespace Microsoft.UI.Xaml.Controls
88
#endif
99
public partial interface ICommandBarElement
1010
{
11-
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
11+
#if false
1212
int DynamicOverflowOrder
1313
{
1414
get;
1515
set;
1616
}
1717
#endif
1818
// Skipping already declared property IsCompact
19-
#if __ANDROID__ || __IOS__ || IS_UNIT_TESTS || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
19+
#if false
2020
bool IsInOverflow
2121
{
2222
get;

src/Uno.UI/UI/Xaml/Controls/AppBar/AppBarButton.partial.h.mux.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ namespace Microsoft.UI.Xaml.Controls;
2020

2121
partial class AppBarButton
2222
{
23-
internal void SetInputMode(InputDeviceType inputDeviceTypeUsedToOpenOverflow)
24-
{
23+
internal void SetInputMode(InputDeviceType inputDeviceTypeUsedToOpenOverflow) =>
2524
m_inputDeviceTypeUsedToOpenOverflow = inputDeviceTypeUsedToOpenOverflow;
26-
}
2725

2826
bool ISubMenuOwner.IsSubMenuPositionedAbsolutely => false;
2927

src/Uno.UI/UI/Xaml/Controls/AppBar/AppBarToggleButton.partial.h.mux.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.UI.Xaml.Controls;
1212

1313
public partial class AppBarToggleButton
1414
{
15-
private void SetInputMode(InputDeviceType inputDeviceTypeUsedToOpenOverflow) =>
15+
internal void SetInputMode(InputDeviceType inputDeviceTypeUsedToOpenOverflow) =>
1616
m_inputDeviceTypeUsedToOpenOverflow = inputDeviceTypeUsedToOpenOverflow;
1717

1818
// LabelOnRightStyle doesn't work in AppBarButton/AppBarToggleButton Reveal Style.

src/Uno.UI/UI/Xaml/Controls/CommandBar/ICommandBarElement.cs

+21
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,28 @@
44

55
namespace Microsoft.UI.Xaml.Controls;
66

7+
/// <summary>
8+
/// Defines the compact view for command bar elements.
9+
/// </summary>
710
public partial interface ICommandBarElement
811
{
12+
/// <summary>
13+
/// Gets or sets a value that indicates the order in which
14+
/// a primary command in a CommandBar should be moved to
15+
/// the overflow menu when there is not enough room to display
16+
/// all primary commands.
17+
/// </summary>
18+
int DynamicOverflowOrder { get; set; }
19+
20+
/// <summary>
21+
/// Gets a value that indicates whether the CommandBar command
22+
/// is currently located in the overflow menu.
23+
/// </summary>
24+
bool IsInOverflow { get; }
25+
26+
/// <summary>
27+
/// Gets or sets a value that indicates whether the element
28+
/// is shown with no label and reduced padding.
29+
/// </summary>
930
bool IsCompact { get; set; }
1031
}

0 commit comments

Comments
 (0)