initElementDictionary.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / IO / Packaging / initElementDictionary.cs / 1 / initElementDictionary.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// Description: 
//      Definition of MS.Internal.IO.Packaging.XamlFilter.InitElementDictionary. 
//
// Note: 
//  THIS FILE HAS BEEN AUTOMATICALLY GENERATED.
//  (See generator code in wcp\tools\indexing\ElementTableInitializer.cs.)
//
//  While it is theoretically possible to update this file manually, it is generally easier 
//  to have it regenerated by running the script UpdateXamlFilter.cmd (located in tools\buildscripts)
//  in a razzle window. 
//  The following sequence of commands shows what UpdateXamlFilter.cmd will do if launched from an x86chk window. 
//  It will however adapt to the build flavor of its execution environment.
//  In addition to the following update steps, the script will also perform checking steps, 
//  namely rebuild affected assemblies and run DrtIndexingElementDictionary.
/*
       cd %SDXROOT%\windows\wcp\tools\Indexing
       build -cZP 
       cd %SDXROOT%\windows\wcp
       sd edit Framework\ms\Internal\IO\Packaging\initElementDictionary.cs 
       cd ..\devtest\wcp\objchk\i386 
       copybuild
       %SDXROOT%\windows\wcp\tools\Indexing\objchk\i386\ElementTableInitializer.exe PresentationFramework.dll %SDXROOT%\windows\wcp\Framework\ms\Internal\IO\Packaging\initElementDictionary.cs 
*/
//
//---------------------------------------------------------------------------
using System.Collections;               // For Hashtable 

namespace MS.Internal.IO.Packaging 
{ 
    /// 
    /// The class that supports content extraction from XAML files for indexing purposes. 
    /// 
    internal partial class XamlFilter : IManagedFilter
    {
        private void InitElementDictionary() 
        {
            // Making this initialization idempotent is useful in so far as 
            // a XAML filter gets reinitialized every time a new input gets loaded. 
            if (_xamlElementContentDescriptorDictionary != null)
            { 
                return;
            }
            _xamlElementContentDescriptorDictionary = new Hashtable(300);
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextBox"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Italic"),
                new ContentDescriptor(true, true, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StaticResourceExtension"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridViewColumnHeader"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Canvas"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ListBox"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ItemsControl"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "AdornerDecorator"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ComponentResourceKey"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Button"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkRichTextComposition"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "LinkTarget"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextBlock"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DataTemplateSelector"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MediaElement"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "PrintDialogException"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DialogResultConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ComboBoxItem"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "RowDefinition"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextSearch"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DocumentReference"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridViewColumn"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ValidationError"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "PasswordBox"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "InkCanvas"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DataTrigger"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TemplatePartAttribute"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "BlockUIContainer"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "LengthConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Decorator"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToolTip"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FigureLengthConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ValidationResult"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ContentControl"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "CornerRadiusConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToggleButton"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Paragraph"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "HeaderedContentControl"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "LineBreak"),
                new ContentDescriptor(true, true, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Window"),
                new ContentDescriptor(true, false, "Content", "Title")); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StyleSelector"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FixedPage"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Path"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GroupStyleSelector"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GroupStyle"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "BorderGapMaskConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Slider"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GroupItem"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ResourceDictionary"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StackPanel"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DockPanel"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Image"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Ellipse"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "HeaderedItemsControl"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ColumnDefinition"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Polygon"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "PropertyPathConverter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Menu"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Condition"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TemplateBindingExtension"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "RepeatButton"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "AdornedElementPlaceholder"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "JournalEntry"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Figure"),
                new ContentDescriptor(true, true, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "BulletDecorator"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "SpellingError"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "InkPresenter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DataTemplateKey"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ItemsPanelTemplate"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FlowDocumentPageViewer"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridViewRowPresenter"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ThicknessConverter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FixedDocumentSequence"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MenuScrollingVisibilityConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TemplateBindingExpressionConverter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridViewHeaderRowPresenter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TreeViewItem"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TemplateBindingExtensionConverter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MultiTrigger"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ComboBox"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "UniformGrid"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ListBoxItem"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Grid"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Trigger"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "RichTextBox"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GroupBox"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "InlineUIContainer"),
                new ContentDescriptor(true, true, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "CheckBox"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToolBarPanel"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DynamicResourceExtension"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FontSizeConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Separator"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Table"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "VirtualizingStackPanel"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DocumentViewer"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TableRow"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "RadioButton"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "EventTrigger"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TableColumn"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Track"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ProgressBar"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ListViewItem"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ZoomPercentageConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Floater"),
                new ContentDescriptor(true, true, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TabItem"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FlowDocument"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Label"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "WrapPanel"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ListItem"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkPropertyMetadata"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "NameScope"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TreeView"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Rectangle"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Hyperlink"),
                new ContentDescriptor(true, true, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TableRowGroup"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Application"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TickBar"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ResizeGrip"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkElement"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Run"),
                new ContentDescriptor(true, true, "Text", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkContentElement"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ItemContainerGenerator"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ThemeDictionaryExtension"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "AccessText"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Frame"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "LostFocusEventManager"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "JournalEntryListConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Page"),
                new ContentDescriptor(true, false, "Content", "WindowTitle")); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridLengthConverter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextSelection"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FixedDocument"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "HierarchicalDataTemplate"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MessageBox"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Style"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ScrollContentPresenter"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Span"),
                new ContentDescriptor(true, true, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextPointer"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkElementFactory"),
                new ContentDescriptor(true, false, "Text", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ExceptionValidationRule"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DocumentPageView"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToolBar"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ListView"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StyleTypedPropertyAttribute"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToolBarOverflowPanel"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "BooleanToVisibilityConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Line"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MenuItem"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Section"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DynamicResourceExtensionConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Underline"),
                new ContentDescriptor(true, true, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TemplateBindingExpression"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Viewport3D"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ItemsPresenter"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/xps/2005/06", "Polyline"),
                new ContentDescriptor(false, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkTextComposition"),
                new ContentDescriptor(true, false, "Text", null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextRange"),
                new ContentDescriptor(true, false, "Text", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StatusBarItem"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FlowDocumentReader"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TextEffectTarget"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ColorConvertedBitmapExtension"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "NavigationWindow"),
                new ContentDescriptor(true, false, "Content", "Title")); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "AdornerLayer"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridView"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "CustomPopupPlacementCallback"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "MultiDataTrigger"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "NavigationService"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "PropertyPath"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Bold"),
                new ContentDescriptor(true, true, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ResourceReferenceKeyNotFoundException"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StatusBar"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Border"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "SpellCheck"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "SoundPlayerAction"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ContentPresenter"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "EventSetter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "StickyNoteControl"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "UserControl"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FlowDocumentScrollViewer"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ThemeInfoAttribute"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "List"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "DataTemplate"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "GridSplitter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TableCell"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Thumb"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Glyphs"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ScrollViewer"),
                new ContentDescriptor(true, false, "Content", null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TabPanel"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Setter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "PageContent"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "TabControl"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Typography"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ScrollBar"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "NullableBoolConverter"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ControlTemplate"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ContextMenu"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Popup"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Control"),
                new ContentDescriptor(true, false, null, null)); 
            _xamlElementContentDescriptorDictionary.Add(
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "ToolBarTray"),
                new ContentDescriptor(true, false, null, null));
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Expander"),
                new ContentDescriptor(true, false, "Content", null)); 
            _xamlElementContentDescriptorDictionary.Add( 
                new ElementTableKey("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Viewbox"),
                new ContentDescriptor(true, false, null, null)); 
        }
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK