From 54aea751df257a05f1af1a595b0b5e8071ec3e34 Mon Sep 17 00:00:00 2001 From: Keith Mahoney <41657372+kmahone@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:50:47 -0700 Subject: [PATCH] Move IPopup4 to Private namespace (#6165) --- .../CommandBarFlyoutCommandBar.idl | 51 ++++++++++--------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/dev/CommandBarFlyout/CommandBarFlyoutCommandBar.idl b/dev/CommandBarFlyout/CommandBarFlyoutCommandBar.idl index f8dcc8fb40..ccf969e598 100644 --- a/dev/CommandBarFlyout/CommandBarFlyoutCommandBar.idl +++ b/dev/CommandBarFlyout/CommandBarFlyoutCommandBar.idl @@ -1,4 +1,31 @@ -namespace MU_XCP_NAMESPACE +namespace MU_PRIVATE_CONTROLS_NAMESPACE +{ + +[MUX_INTERNAL] +[webhosthidden] +[uuid(1870b836-df2f-5fc6-a5f2-748ed6ce7321)] +interface IPopup4 +{ + Windows.UI.Xaml.FrameworkElement PlacementTarget; + Microsoft.UI.Xaml.Controls.Primitives.PopupPlacementMode DesiredPlacement; + Microsoft.UI.Xaml.Controls.Primitives.PopupPlacementMode ActualPlacement{ get; }; + + event Windows.Foundation.EventHandler ActualPlacementChanged; +}; + +[MUX_INTERNAL] +[webhosthidden] +[uuid(98ffd442-a3f5-534c-906d-88b72a78126b)] +interface IAutomationPropertiesStatics9 +{ + Windows.UI.Xaml.DependencyProperty ControlTypeProperty{ get; }; + Windows.UI.Xaml.Automation.Peers.AutomationControlType GetControlType(Windows.UI.Xaml.UIElement element); + void SetControlType(Windows.UI.Xaml.UIElement element, Windows.UI.Xaml.Automation.Peers.AutomationControlType value); +}; + +} + +namespace MU_XCP_NAMESPACE { [MUX_PUBLIC] @@ -59,28 +86,6 @@ enum PopupPlacementMode RightEdgeAlignedBottom, }; -[MUX_INTERNAL] -[webhosthidden] -[uuid(1870b836-df2f-5fc6-a5f2-748ed6ce7321)] -interface IPopup4 -{ - Windows.UI.Xaml.FrameworkElement PlacementTarget; - Microsoft.UI.Xaml.Controls.Primitives.PopupPlacementMode DesiredPlacement; - Microsoft.UI.Xaml.Controls.Primitives.PopupPlacementMode ActualPlacement{ get; }; - - event Windows.Foundation.EventHandler ActualPlacementChanged; -}; - -[MUX_INTERNAL] -[webhosthidden] -[uuid(98ffd442-a3f5-534c-906d-88b72a78126b)] -interface IAutomationPropertiesStatics9 -{ - Windows.UI.Xaml.DependencyProperty ControlTypeProperty{ get; }; - Windows.UI.Xaml.Automation.Peers.AutomationControlType GetControlType(Windows.UI.Xaml.UIElement element); - void SetControlType(Windows.UI.Xaml.UIElement element, Windows.UI.Xaml.Automation.Peers.AutomationControlType value); -}; - [MUX_PUBLIC] [webhosthidden] static runtimeclass CommandBarFlyoutCommandBarAutomationProperties