Skip to main content

Microsoft Silverlight

Answered Question datagrid border / column headerRSS Feed

(0)

Rahman_Hadi
Rahman_Hadi

Member

Member

0 points

4 Posts

datagrid border / column header

Hi all - Im the new comer in this silverlight programming and now i has already waste my time for almost a day to searching the way how to remove thin border that always show up in the top of datagrid control unless setting property columnheader and border and everything its related change to null. but why there is thin broder in the top of datagrid? my snapshot code: {Any help ... I really appreciate... make me so stress to face this graphic stuff ..:) }

<data:DataGrid x:Name="SalableCuGrid"

HorizontalScrollBarVisibility="Hidden"

VerticalScrollBarVisibility="Hidden"

Width="166" Height="Auto"

IsReadOnly="True"

RowHeight="16"

AlternatingRowBackground="{x:Null}" RowBackground="{x:Null}"

SelectedIndex="-1" BorderThickness="0" AutoGenerateColumns="False"

SelectionMode="Single" HeadersVisibility="None"

HorizontalGridLinesBrush="{x:Null}" VerticalGridLinesBrush="{x:Null}"

CanUserSortColumns="False" CanUserResizeColumns="False" Background="{x:Null}"

CanUserReorderColumns="False" Foreground="{x:Null}" BorderBrush="{x:Null}"

>

Rahman_Hadi
Rahman_Hadi

Member

Member

0 points

4 Posts

Answered Question

Re: datagrid border / column header

please see: http://silverlight.net/forums/p/51905/136181.aspx#136181 

the data grid control should provide prpoerties to make it disappear or at least it removes whenever user wants to remove column header 

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft

Re: datagrid border / column header

Hi Rahman,

With all the community members' contribution(suggestions, compliements, complains....),  Silverlight goes to be more powerful and stable.   Thanks for your post and please wait for the future release.    

Best regards,

Jonathan 

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities