Home Forums WPF controls Xceed DataGrid for WPF What’s with this x: thing?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26312 |

    Total newbie here… I’ve been studying XAML to get ready to jump in to WPF.

    I get much of it by just reading and thinking about it.

    But, what is with this x: thing I see very often, for instance in the following Xceed sample XAML code:

    <Grid xmlns:xcdg=”http://schemas.xceed.com/wpf/xaml/datagrid”&gt;
    <Grid.Resources>
    <xcdg:DataGridCollectionViewSource x:Key=”cvs_orders”
    Source=”{Binding Source={x:Static Application.Current},
    Path=Orders}”/>
    </Grid.Resources>

    <xcdg:DataGridControl x:Name=”OrdersGrid”
    ItemsSource=”{Binding Source={StaticResource cvs_orders}}”/>
    </Grid>

    Imported from legacy forums. Posted by Matt (had 1757 views)

    Xceed Support
    Member
    Post count: 5658

    x: is one of the default xml namespace prefixes defined in a window or page.

    <Window x:Class=”Test.MainWindow”
    xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation&#8221;
    xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”/&gt;

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2858 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.