Results 1 to 17 of 17

Thread: Grid Styles?

  1. #1

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Grid Styles?

    Anyone have a nice style for a grid? Please try to attach pics instead of linking as image hosting sites are blocked at work

    Thanks
    Last edited by RobDog888; Dec 8th, 2009 at 02:28 PM.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Can you elaborate a little? Are you talking about a proper Style object for a Grid element or are you just asking if anyone has a nice looking DGV-like control? I suspect the latter but can you just confirm?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Probably should say this is for SL 3 as we are not rolling out FW 4 until late 2010 or early 2011. So a listview or grid-like equilivalent since the DGV is not in 3.

    Proper style
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Ah ok, its just that with there being the actual Grid element in WPF I wasnt sure if you meant that (although as they are not normally visible I would have been surprised if you did!).

    I havent made any nice looking grid's myself but there are quite a lot of nice examples on the web that I've seen that shouldnt be too hard to copy. Might have a go myself actually and let you know what I come up with..
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Grid Styles?

    Is it the style or the concept of styles your looking for rob?

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Yeah I'm still not really sure exactly what you are looking for... but anyway, I just had a play around for half an hour and came up with this - see attached image (obviously I have only done the column headers so far, but they do have different states when you hover over them or click them).

    I've also attached the full project in case you wanted to have a look at the XAML

    Oh and its probably all not very well made, been a while since I tried anything proper in WPF!
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by chris128; Dec 8th, 2009 at 05:04 PM.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  7. #7
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Grid Styles?

    Looks nice!

  8. #8

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Looking for an actual style or anything close to whats needed Dean. Im on a major overloaded project schedule so what ever shortcuts I can get are greatly appreciated.

    Charis, yes that looks like wat Im looking for and in blue too. Its an app for our security department so I guess blue would be relatable.

    I will check out hte xaml later when I get home.

    Thanks and if you guys have anything more post them up
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Grid Styles?


  10. #10
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Glad you liked it I cant really provide you with anything further without knowing what you are going to be displaying in the grid. I mean a style for a grid cant contain much much than fancy column headers and maybe a nice background/border, so I'm assuming you also want the item data template.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  11. #11

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Its just a single stand alone app for a small department managing phone number to take action against like blocking or temp blocking from accessing out IVR phone systems.

    Looks like it may get thrown into Silverlight now though. Sure change my project plan but dont allow change of deadlines or budgets
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  12. #12
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    I see, well unless you can tell me each item of data that needs to be displayed in the grid (ie the column headings) as well as how you want the items to work (ie should some columns display an image, or have a button in that links to another screen etc) then I cant do much to help any further than I already have
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  13. #13

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Looks like the style is a Aero theme. I think that will work throughout the page. I'd like to go with a datagrid though instead of a listview and an external style xaml file so I can use the same style on future pages.

    The items in the primary grid are going to be...

    Status Change Date (date format), Status (color representation, so may need to use something similar to Outlooks Color Category images. Rounded rectangle colored gradient), User ID (text format), Status Notes (text format).

    The grid will be read only as we are not designing the system to be editing records but adding new records and updating old records behind the scenes so it will "appear" to be updating and adding a historical record.


    Secondary grid for displaying history...

    Phone (phone number format), Status Change Date (date format), Status (same as primary grid "status" format), UserID (text), Status Notes (text).

    Again read only grid.


    I will be using buttons, combos, textboxes and the two grids. Not a major app but its a starting point for me to get into re-writting all our desktop apps in new technologies
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  14. #14
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Not sure what you mean by a datagrid, unless you mean the control in the WPF Toolkit download thing (which I've never used because I dont really see the difference between that and a listview but maybe thats just me).
    Personally I would use a listbox with a nice datatemplate to show the various bits of information rather than having columns and a grid. Here's an example in a program I'm currently working on:

    This is after the search has been done and one result has been found:



    This is after the user has clicked on one of the search results (they can double click the item or click the View All button to see more info):



    Obviously not suitable for every situation but I prefer it to a boring old grid personally
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  15. #15

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Cant see pb images at work. They are blocked out.

    The DataGrid is from the WPF Toolkit.

    Well its all tabular data returns so dont see much other way to creatively display the data.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  16. #16

    Thread Starter
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Grid Styles?

    Quote Originally Posted by chris128 View Post
    Not sure what you mean by a datagrid, unless you mean the control in the WPF Toolkit download thing (which I've never used because I dont really see the difference between that and a listview but maybe thats just me).
    Personally I would use a listbox with a nice datatemplate to show the various bits of information rather than having columns and a grid. Here's an example in a program I'm currently working on:

    This is after the search has been done and one result has been found:



    This is after the user has clicked on one of the search results (they can double click the item or click the View All button to see more info):



    Obviously not suitable for every situation but I prefer it to a boring old grid personally
    That looks great too chris. But I think for this first app I will not give them everything as time is of the essence. Plus its not 100% under my control. Hopefully the next app I will have more time and full control.

    I'll post something up tonight showing my progress.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  17. #17
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Grid Styles?

    Yeah thats fair enough, I find that it does take a lot longer to make WPF apps because you can end up spending so much time on the visual side of things on top of all the time you would normally spend on coding and design etc
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width