Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Other Programming Languages
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 13th, 2016, 02:36 PM
Registered User
Points: 18, Level: 1
Points: 18, Level: 1 Points: 18, Level: 1 Points: 18, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2016
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default head group panel wpf grid

how do you create a panel with column used for content grouping.
Reply With Quote
  #2 (permalink)  
Old May 16th, 2016, 06:21 AM
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2016
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re. head group panel wpf grid

Quote:
Originally Posted by alexandarx5 View Post
how do you create a panel with column used for content grouping.
I use dapfor and this code underneath work perfectly for the question you asked.
XAML
<!--Header group panel brushes-->
<SolidColorBrush x:Key="GroupPanelForegroundBrush" Color="#ffdae0e7"/>
<LinearGradientBrush x:Key="GroupPanelBackgroundBrush" StartPoint="0,0" EndPoint="1,1">
<GradientStop Color="#00ffffff" Offset="0" />
<GradientStop Color="#20ffffff" Offset="0.2" />
<GradientStop Color="#00ffffff" Offset="0.3" />
<GradientStop Color="#40ffffff" Offset="0.4" />
<GradientStop Color="#00ffffff" Offset="0.5" />
<GradientStop Color="#20ffffff" Offset="0.6" />
<GradientStop Color="#40ffffff" Offset="0.7" />
<GradientStop Color="#00ffffff" Offset="0.8" />
<GradientStop Color="#20ffffff" Offset="0.9" />
<GradientStop Color="#00ffffff" Offset="1" />
</LinearGradientBrush>
<LinearGradientBrush x:Key="GroupPanelBorderBrush" EndPoint="0,1" StartPoint="0,0">
<GradientStop Color="#40ffffff" Offset="0" />
<GradientStop Color="#35000000" Offset="1" />
</LinearGradientBrush>

<!--GridControl-->
<Style TargetType="{x:Type controls:GridControl}">
<Setter Property="AppearanceHeaderGroupPanelBackground" Value="{StaticResource GroupPanelBackgroundBrush}"/>
<Setter Property="AppearanceHeaderGroupPanelForeground" Value="{StaticResource GroupPanelForegroundBrush}"/>
<Setter Property="AppearanceHeaderGroupPanelBorder" Value="{StaticResource GroupPanelBorderBrush}"/>
<Setter Property="AppearanceHeaderGroupPanelBorderThicknes s" Value="1"/>
</Style>
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wpf grid selection alexandarx5 Other Programming Languages 1 May 14th, 2016 06:29 AM
Dynamically adding a panel to an existing panel? Thorshix Java GUI 0 February 20th, 2010 01:59 PM
Group name for radio buttons in Grid view nitinp ASP.NET 2.0 Professional 0 February 27th, 2007 06:15 AM
ViewState problem when adding a panel to a panel koekie17 C# 3 February 20th, 2006 08:17 AM
Having problems with the Group Projects Panel Ch.9 Bo.B.B BOOK: Beginning VB.NET Databases 4 October 21st, 2005 05:27 PM



All times are GMT -4. The time now is 05:56 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.