void CommandBarFlyoutCommandBarTemplateSettingsProperties::EnsureProperties()

in dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.cpp [36:269]


void CommandBarFlyoutCommandBarTemplateSettingsProperties::EnsureProperties()
{
    if (!s_CloseAnimationEndPositionProperty)
    {
        s_CloseAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"CloseAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ContentClipRectProperty)
    {
        s_ContentClipRectProperty =
            InitializeDependencyProperty(
                L"ContentClipRect",
                winrt::name_of<winrt::Rect>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<winrt::Rect>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_CurrentWidthProperty)
    {
        s_CurrentWidthProperty =
            InitializeDependencyProperty(
                L"CurrentWidth",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_DispatcherProperty)
    {
        s_DispatcherProperty =
            InitializeDependencyProperty(
                L"Dispatcher",
                winrt::name_of<winrt::CoreDispatcher>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<winrt::CoreDispatcher>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandDownAnimationEndPositionProperty)
    {
        s_ExpandDownAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"ExpandDownAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandDownAnimationHoldPositionProperty)
    {
        s_ExpandDownAnimationHoldPositionProperty =
            InitializeDependencyProperty(
                L"ExpandDownAnimationHoldPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandDownAnimationStartPositionProperty)
    {
        s_ExpandDownAnimationStartPositionProperty =
            InitializeDependencyProperty(
                L"ExpandDownAnimationStartPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandDownOverflowVerticalPositionProperty)
    {
        s_ExpandDownOverflowVerticalPositionProperty =
            InitializeDependencyProperty(
                L"ExpandDownOverflowVerticalPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandedWidthProperty)
    {
        s_ExpandedWidthProperty =
            InitializeDependencyProperty(
                L"ExpandedWidth",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandUpAnimationEndPositionProperty)
    {
        s_ExpandUpAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"ExpandUpAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandUpAnimationHoldPositionProperty)
    {
        s_ExpandUpAnimationHoldPositionProperty =
            InitializeDependencyProperty(
                L"ExpandUpAnimationHoldPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandUpAnimationStartPositionProperty)
    {
        s_ExpandUpAnimationStartPositionProperty =
            InitializeDependencyProperty(
                L"ExpandUpAnimationStartPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_ExpandUpOverflowVerticalPositionProperty)
    {
        s_ExpandUpOverflowVerticalPositionProperty =
            InitializeDependencyProperty(
                L"ExpandUpOverflowVerticalPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_OpenAnimationEndPositionProperty)
    {
        s_OpenAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"OpenAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_OpenAnimationStartPositionProperty)
    {
        s_OpenAnimationStartPositionProperty =
            InitializeDependencyProperty(
                L"OpenAnimationStartPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_OverflowContentClipRectProperty)
    {
        s_OverflowContentClipRectProperty =
            InitializeDependencyProperty(
                L"OverflowContentClipRect",
                winrt::name_of<winrt::Rect>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<winrt::Rect>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_WidthExpansionAnimationEndPositionProperty)
    {
        s_WidthExpansionAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"WidthExpansionAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_WidthExpansionAnimationStartPositionProperty)
    {
        s_WidthExpansionAnimationStartPositionProperty =
            InitializeDependencyProperty(
                L"WidthExpansionAnimationStartPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_WidthExpansionDeltaProperty)
    {
        s_WidthExpansionDeltaProperty =
            InitializeDependencyProperty(
                L"WidthExpansionDelta",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_WidthExpansionMoreButtonAnimationEndPositionProperty)
    {
        s_WidthExpansionMoreButtonAnimationEndPositionProperty =
            InitializeDependencyProperty(
                L"WidthExpansionMoreButtonAnimationEndPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
    if (!s_WidthExpansionMoreButtonAnimationStartPositionProperty)
    {
        s_WidthExpansionMoreButtonAnimationStartPositionProperty =
            InitializeDependencyProperty(
                L"WidthExpansionMoreButtonAnimationStartPosition",
                winrt::name_of<double>(),
                winrt::name_of<winrt::CommandBarFlyoutCommandBarTemplateSettings>(),
                false /* isAttached */,
                ValueHelper<double>::BoxedDefaultValue(),
                nullptr);
    }
}