File tree 10 files changed +100
-59
lines changed
src/Uno.UI/UI/Xaml/Controls/CommandBar
10 files changed +100
-59
lines changed Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ /// <summary>
8
+ /// Defines constants that specify the placement and visibility of AppBarButton labels in a CommandBar.
9
+ /// </summary>
10
+ public enum CommandBarDefaultLabelPosition
6
11
{
7
- public enum CommandBarDefaultLabelPosition
8
- {
9
- Bottom ,
10
- Right ,
11
- Collapsed ,
12
- }
12
+ /// <summary>
13
+ /// App bar button labels are shown below the icon. Labels are visible only when the command bar is open.
14
+ /// </summary>
15
+ Bottom = 0 ,
16
+
17
+ /// <summary>
18
+ /// App bar button labels are shown to the right of the icon. Labels are visible even when the command bar is closed.
19
+ /// </summary>
20
+ Right = 1 ,
21
+
22
+ /// <summary>
23
+ /// App bar button labels are always hidden whether the command bar is open or closed.
24
+ /// </summary>
25
+ Collapsed = 2 ,
13
26
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ /// <summary>
8
+ /// Defines constants that specify whether items were added to or removed from the CommandBar overflow menu.
9
+ /// </summary>
10
+ public enum CommandBarDynamicOverflowAction
6
11
{
7
- public enum CommandBarDynamicOverflowAction
8
- {
9
- AddingToOverflow ,
10
- RemovingFromOverflow ,
11
- }
12
+ /// <summary>
13
+ /// Items are added to the overflow menu.
14
+ /// </summary>
15
+ AddingToOverflow = 0 ,
16
+
17
+ /// <summary>
18
+ /// Items are removed from the overflow menu.
19
+ /// </summary>
20
+ RemovingFromOverflow = 1 ,
12
21
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ /// <summary>
8
+ /// Defines constants that specify the placement and visibility of an app bar button's label.
9
+ /// </summary>
10
+ public enum CommandBarLabelPosition
6
11
{
7
- public enum CommandBarLabelPosition
8
- {
9
- Default ,
10
- Collapsed ,
11
- }
12
+ /// <summary>
13
+ /// The placement and visibility of the app bar button's label is determined by the value of the CommandBar.DefaultLabelPosition property.
14
+ /// </summary>
15
+ Default ,
16
+
17
+ /// <summary>
18
+ /// The app bar button's label is always hidden whether the command bar is open or closed.
19
+ /// </summary>
20
+ Collapsed ,
12
21
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ /// <summary>
8
+ /// Defines constants that specify when a command bar's overflow button is shown.
9
+ /// </summary>
10
+ public enum CommandBarOverflowButtonVisibility
6
11
{
7
- public enum CommandBarOverflowButtonVisibility
8
- {
9
- Auto ,
10
- Visible ,
11
- Collapsed ,
12
- }
12
+ /// <summary>
13
+ /// The overflow button automatically hides when there are no secondary commands and the closed state of the CommandBar is the same as the open state.
14
+ /// </summary>
15
+ Auto = 0 ,
16
+
17
+ /// <summary>
18
+ /// The overflow button is always shown.
19
+ /// </summary>
20
+ Visible = 1 ,
21
+
22
+ /// <summary>
23
+ /// The overflow button is never shown.
24
+ /// </summary>
25
+ Collapsed = 2 ,
13
26
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ /// <summary>
8
+ /// Provides data for the CommandBar.DynamicOverflowItemsChanging event.
9
+ /// </summary>
10
+ public partial class DynamicOverflowItemsChangingEventArgs
6
11
{
7
- public partial class DynamicOverflowItemsChangingEventArgs
8
- {
9
- public global ::Microsoft . UI . Xaml . Controls . CommandBarDynamicOverflowAction Action
10
- {
11
- get ;
12
- internal set ;
13
- }
14
- }
12
+ /// <summary>
13
+ /// Gets a value that indicates whether items were added to or removed from the CommandBar overflow menu.
14
+ /// </summary>
15
+ public CommandBarDynamicOverflowAction Action { get ; internal set ; }
15
16
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ public partial interface ICommandBarElement
6
8
{
7
- public partial interface ICommandBarElement
8
- {
9
- bool IsCompact { get ; set ; }
10
- }
9
+ bool IsCompact { get ; set ; }
11
10
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ public partial interface ICommandBarElement2
6
8
{
7
- public partial interface ICommandBarElement2
8
- {
9
- int DynamicOverflowOrder { get ; set ; }
10
- bool IsInOverflow { get ; }
11
- }
9
+ int DynamicOverflowOrder { get ; set ; }
10
+ bool IsInOverflow { get ; }
12
11
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ internal interface ICommandBarElement3
6
8
{
7
- internal interface ICommandBarElement3
8
- {
9
- bool IsInOverflow { get ; set ; }
10
- }
9
+ bool IsInOverflow { get ; set ; }
11
10
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controls ;
6
+
7
+ internal interface ICommandBarLabeledElement
6
8
{
7
- internal interface ICommandBarLabeledElement
8
- {
9
- void SetDefaultLabelPosition ( CommandBarDefaultLabelPosition defaultLabelPosition ) ;
9
+ void SetDefaultLabelPosition ( CommandBarDefaultLabelPosition defaultLabelPosition ) ;
10
10
11
- bool GetHasBottomLabel ( ) ;
11
+ bool GetHasBottomLabel ( ) ;
12
12
13
- bool GetHasRightLabel ( ) ;
14
- }
13
+ bool GetHasRightLabel ( ) ;
15
14
}
Original file line number Diff line number Diff line change 2
2
using System . Collections . Generic ;
3
3
using System . Text ;
4
4
5
- namespace Microsoft . UI . Xaml . Controls
5
+ namespace Microsoft . UI . Xaml . Controlsů
6
6
{
7
7
internal interface ICommandBarOverflowElement
8
8
{
You can’t perform that action at this time.
0 commit comments