Exemplo n.º 1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember   xamlMember = null;
            global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "TextDisplay.RichTextColumns.RichTextContent":
                userType   = (global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType)GetXamlTypeByName("TextDisplay.RichTextColumns");
                xamlMember = new global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember(this, "RichTextContent", "Windows.UI.Xaml.Controls.RichTextBlock");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_0_RichTextColumns_RichTextContent;
                xamlMember.Setter = set_0_RichTextColumns_RichTextContent;
                break;

            case "TextDisplay.RichTextColumns.ColumnTemplate":
                userType   = (global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType)GetXamlTypeByName("TextDisplay.RichTextColumns");
                xamlMember = new global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember(this, "ColumnTemplate", "Windows.UI.Xaml.DataTemplate");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_1_RichTextColumns_ColumnTemplate;
                xamlMember.Setter = set_1_RichTextColumns_ColumnTemplate;
                break;
            }
            return(xamlMember);
        }
Exemplo n.º 2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember xamlMember = null;
            global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "TextDisplay.RichTextColumns.RichTextContent":
                userType = (global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType)GetXamlTypeByName("TextDisplay.RichTextColumns");
                xamlMember = new global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember(this, "RichTextContent", "Windows.UI.Xaml.Controls.RichTextBlock");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_0_RichTextColumns_RichTextContent;
                xamlMember.Setter = set_0_RichTextColumns_RichTextContent;
                break;
            case "TextDisplay.RichTextColumns.ColumnTemplate":
                userType = (global::TextDisplay.TextDisplay_XamlTypeInfo.XamlUserType)GetXamlTypeByName("TextDisplay.RichTextColumns");
                xamlMember = new global::TextDisplay.TextDisplay_XamlTypeInfo.XamlMember(this, "ColumnTemplate", "Windows.UI.Xaml.DataTemplate");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_1_RichTextColumns_ColumnTemplate;
                xamlMember.Setter = set_1_RichTextColumns_ColumnTemplate;
                break;
            }
            return xamlMember;
        }