Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Request for sample Theme project

Sort Posts: Previous Next
  •  05-05-2008, 11:59 AM Post no. 11981

    Request for sample Theme project

    I think this is common for newbie or expert that using wpf datagrid. DataGrid is used for lots of pages in application so repeatly styling is time consuming job. Theme project is savior. But there's no sample for that except very basic step in tutorial in companion. I spent 2 days with theme project and didn't get any progress. Xceed guys should consider for a sample and tutorial to build simple theme like re-pro Lunar/Glass theme in theme project will be lovely.

     Duy T. Doan

    Filed under:
  •  05-05-2008, 2:46 PM Post no. 11985 in reply to 11981

    Re: Request for sample Theme project

    Yes, this is definitely something that we would like to find time to do ! Meanwhile, do you have any specific questions I could help you with?


    Mathieu Drimonakos
    -Technical Designer-
    Filed under:
  •  05-05-2008, 4:10 PM Post no. 11989 in reply to 11985

    Re: Request for sample Theme project

    Oh wait, have you seen this : http://doc.xceedsoft.com/products/XceedWpfDataGrid/Creating_a_Custom_Theme.html. Jenny already wrote something that should help you get started :).


    Mathieu Drimonakos
    -Technical Designer-
  •  05-06-2008, 1:30 AM Post no. 12002 in reply to 11989

    Re: Request for sample Theme project

    Thanks Matt. Your link is the content of tutorial to create custom theme include in Help file that i followed step by step before post this request. I'm currently facing an issue with ScrollBars. I don't know why my theme dont have a veticalscrollbar instead of a black place holder. HorizontalScrollBar is always auto dont't care any setting. I also tried implicit setting in grid Resource section but they just disappear. I want the scrollbars always visible. How can i do that in custom theme.

  •  05-06-2008, 3:42 AM Post no. 12004 in reply to 11989

    Re: Request for sample Theme project

    Matt oi, i almost give up with this. i tried to add some lines like this, the scrollbar appear with PresentationFramework theme default. My target is use custom scrollbar too. I made a custom scrollbar and added into Style resource but still don't effect. What i'm missing;

    <!--**************************

    * STYLE: DataGridControl

    ************************** -->

    <Style x:Key="tableViewBlackFlatGridControlStyle" TargetType="xcdg:DataGridControl">

    <Style.Resources>

    <ResourceDictionary>

    <ResourceDictionary.MergedDictionaries>

    <ResourceDictionary Source="/PresentationFramework.Aero;V3.0.0.0;31bf3856ad364e35;component\themes/aero.normalcolor.xaml" />

    </ResourceDictionary.MergedDictionaries>

    </ResourceDictionary>

    </Style.Resources>

    Filed under:
  •  05-06-2008, 9:29 AM Post no. 12014 in reply to 12004

    Re: Request for sample Theme project

    The grid uses it's own type of scrollviewer, have you tried to redo the style of the TableViewScrollViewer? Like the following :

     <Style TargetType="xcdg:TableViewScrollViewer">
        
    <Setter Property="HorizontalScrollBarVisibility"
                    
    Value="Visible" />
         
    <Setter Property="VerticalScrollBarVisibility"
                    
    Value="Visible" />
    </Style>

    This worked for me, let me know !


    Mathieu Drimonakos
    -Technical Designer-
  •  05-06-2008, 11:22 AM Post no. 12016 in reply to 12014

    Re: Request for sample Theme project

    Yes, i tried that already. OK. If you have time, follow step by step in Custom theme tutorial and create a custom theme then try to make scrollbars always visible. You will see the problem. I think it is a bug in custom theme loading.

    Thanks for your concern on my post.

  •  05-06-2008, 3:03 PM Post no. 12024 in reply to 12016

    Re: Request for sample Theme project

    I've talked to one of the dev and apparently the TableViewScrollViewer cannot be styled via ThemeKeys. We've added a request to fix this for a future release. Meanwhile, feel free to use my solution (outside of a theme application) which should give you the desired result. You can get a bit more info here :

    http://xceed.com/CS/forums/thread/11975.aspx

    oooops, didn't notice this was your thread :S


     


    Mathieu Drimonakos
    -Technical Designer-
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.