private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::Ink.InkCanvas_XamlTypeInfo.XamlMember   xamlMember = null;
            global::Ink.InkCanvas_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "Ink.ViewModels.Base.ViewModelLocator.InkViewModel":
                userType          = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.ViewModels.Base.ViewModelLocator");
                xamlMember        = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "InkViewModel", "Ink.ViewModels.InkViewModel");
                xamlMember.Getter = get_0_ViewModelLocator_InkViewModel;
                xamlMember.SetIsReadOnly();
                break;

            case "Ink.Behaviors.InkBehavior.PenColor":
                userType   = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenColor", "Windows.UI.Xaml.Media.SolidColorBrush");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_1_InkBehavior_PenColor;
                xamlMember.Setter = set_1_InkBehavior_PenColor;
                break;

            case "Ink.Behaviors.InkBehavior.PenSize":
                userType   = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenSize", "Int32");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_2_InkBehavior_PenSize;
                xamlMember.Setter = set_2_InkBehavior_PenSize;
                break;

            case "Ink.Behaviors.InkBehavior.PenType":
                userType   = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenType", "Ink.Models.PenType");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_3_InkBehavior_PenType;
                xamlMember.Setter = set_3_InkBehavior_PenType;
                break;

            case "Ink.Behaviors.InkBehavior.IsClear":
                userType   = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "IsClear", "Boolean");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_4_InkBehavior_IsClear;
                xamlMember.Setter = set_4_InkBehavior_IsClear;
                break;
            }
            return(xamlMember);
        }
Beispiel #2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::Ink.InkCanvas_XamlTypeInfo.XamlMember xamlMember = null;
            global::Ink.InkCanvas_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "Ink.ViewModels.Base.ViewModelLocator.InkViewModel":
                userType = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.ViewModels.Base.ViewModelLocator");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "InkViewModel", "Ink.ViewModels.InkViewModel");
                xamlMember.Getter = get_0_ViewModelLocator_InkViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "Ink.Behaviors.InkBehavior.PenColor":
                userType = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenColor", "Windows.UI.Xaml.Media.SolidColorBrush");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_1_InkBehavior_PenColor;
                xamlMember.Setter = set_1_InkBehavior_PenColor;
                break;
            case "Ink.Behaviors.InkBehavior.PenSize":
                userType = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenSize", "Int32");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_2_InkBehavior_PenSize;
                xamlMember.Setter = set_2_InkBehavior_PenSize;
                break;
            case "Ink.Behaviors.InkBehavior.PenType":
                userType = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "PenType", "Ink.Models.PenType");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_3_InkBehavior_PenType;
                xamlMember.Setter = set_3_InkBehavior_PenType;
                break;
            case "Ink.Behaviors.InkBehavior.IsClear":
                userType = (global::Ink.InkCanvas_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Ink.Behaviors.InkBehavior");
                xamlMember = new global::Ink.InkCanvas_XamlTypeInfo.XamlMember(this, "IsClear", "Boolean");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_4_InkBehavior_IsClear;
                xamlMember.Setter = set_4_InkBehavior_IsClear;
                break;
            }
            return xamlMember;
        }