Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Selected row of RadGridView does not display text!!

$
0
0

Detail Xaml Code is here. 

 

<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:sys="clr-namespace:System;assembly=mscorlib"
             x:Class="Control.SetupPanel"
             x:Name="control" telerik:TouchManager.IsTouchHitTestVisible="false"
             mc:Ignorable="d"
             d:DesignHeight="400" d:DesignWidth="400">
  <UserControl.Resources>

    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/ShmooControl;component/System.Windows.xaml" />
        <ResourceDictionary Source="pack://application:,,,/ShmooControl;component/Telerik.Windows.Controls.xaml" />
        <ResourceDictionary Source="pack://application:,,,/ShmooControl;component/Telerik.Windows.Controls.Input.xaml" />
        <ResourceDictionary Source="pack://application:,,,/ShmooControl;component/Telerik.Windows.Controls.GridView.xaml" />
      </ResourceDictionary.MergedDictionaries>

    </ResourceDictionary>
  </UserControl.Resources>

  <Grid >
    <telerik:RadGridView x:Name="data"
        AutoGenerateColumns="False"
        CanUserFreezeColumns="False"
        CanUserResizeColumns="True"
        ShowGroupPanel="False"
        RowIndicatorVisibility="Collapsed"
        AutoExpandGroups="True"
        IsReadOnly="False"
        FontFamily="{Binding ElementName=control,Path=FontFamily}"
        FontSize="{Binding ElementName=control,Path=FontSize}"
        FontWeight="{Binding ElementName=control,Path=FontWeight}"
        IsFilteringAllowed="False"   ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto"  >

      <telerik:RadGridView.GroupDescriptors>
        <telerik:GroupDescriptor Member="Type" SortDirection="Descending" DisplayContent="Type">
          <telerik:GroupDescriptor.AggregateFunctions>
            <telerik:CountFunction Caption="Entries count: " />
          </telerik:GroupDescriptor.AggregateFunctions>
        </telerik:GroupDescriptor>
      </telerik:RadGridView.GroupDescriptors>

      <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Type" Width="30" HeaderTextAlignment="Center"  IsReadOnly="True"/>
        <telerik:GridViewDataColumn Header="Val1"  Width="30" HeaderTextAlignment="Center" />
        <telerik:GridViewDataColumn Header="Val2" Width="50*" />
        <telerik:GridViewDataColumn Header="Val3" Width="15*" />
        <telerik:GridViewDataColumn Header="Val4" Width="20*" />
        <telerik:GridViewDataColumn Header="Val5" Width="20*" />
        <telerik:GridViewDataColumn Header="Val6" Width="20*" />
      </telerik:RadGridView.Columns>

    </telerik:RadGridView>
  </Grid>
</UserControl>



Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>