Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Steven Kirk

@Steven Kirk
About
Posts
4
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Am I missing Something?
    S Steven Kirk

    PLEASE tell me you're joking!?!? ;)

    The Weird and The Wonderful css question

  • WPF and ASP.NET
    S Steven Kirk

    You could perhaps try giving Cassini a WPF front-end? (http://www.asp.net/Downloads/archived/cassini/[^], http://ultidev.com/products/Cassini/[^]) I've needed something like this before and ended up pretty much writing my own simple webserver using HttpListener. However I didn't need any actual ASP.net features, my webserver was very simple. But I think Cassini would have been a better route to have taken.

    WPF csharp asp-net wpf sysadmin question

  • How do Markup Extensions raise compile errors?
    S Steven Kirk

    Certain markup extensions raise compile errors. For example StaticExtension (x:Static) raises a compile error if the referenced class cannot be found. Anyone know the mechanism for this? Is it baked into the XAML compiler or is such functionaility available to custom markup extensions?

    WCF and WF html wpf help tutorial question

  • DataGridView, CheckBoxes and ThreeState
    S Steven Kirk

    Hello, I have a DataGridView with a DataGridViewCheckBoxColumn. I want to be able to have the checkbox display in an indeterminate state, so I've set the ThreeState property to True. However, I want the indeterminate state to only be set programatically - whenever the user clicks the checkbox, it should only toggle between Checked and Unchecked. Now, this is the default behaviour of a standard CheckBox control - as detailed in the CheckBox.ThreeState property documentation: "the CheckState property value can only be set to the Indeterminate value of System.Windows.Forms.CheckState in code and not by user interaction" How would I achieve this with DataGridView? I'm committing the changes to the checkbox cells immediately by catching the CurrentCellDirtyStateChanged event and calling CommitEdit as suggested in the documentation for DataGridView. However, if I try catching the indeterminate state in this event or in CellValueChanged, and setting Value to CheckState.Unchecked, the cell's Value property changes but the display does not update until the control loses focus or another row is selected. As this is the default for the CheckBox control, I'm sure it can't be that difficult to get the DataGridView to do it. What am I missing? Thanks in advance for your help, Steven

    C# help question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups