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
K

karthik bandaru

@karthik bandaru
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • WPF groupbox visibility by combobox value selected
    K karthik bandaru

    so,can u help me how to do ?

    WPF csharp wpf

  • WPF groupbox visibility by combobox value selected
    K karthik bandaru

    private void combogroup_SelectionChanged(object sender, SelectionChangedEventArgs e)
    {

    ------binded combobox

    category ca = new category();
    strCurCatGroup = combogroup.SelectedValue.ToString().Trim();
    ca.changecategory(strCurCatGroup);//change category is my method

        }
    

    private void changecategory(string strCategoryGroup)
    {

    switch(---)
    {
    case "A":
    groupbox1.visibility=Visibility.Hidden;
    groupbox2.visibility=Visibility.Visible;

    --
    case "B":

    groupbox1.visibility=Visibility.Visible;
    groupbox2.visibility=Visibility.Hidden
    //groupbox 1 and grpbox 2 contain different controls and i am able to execute the cases properly but the result is not getting.
    }

    WPF csharp wpf

  • Groupbox visibility problem in WPF after debugging and changing the combobox value
    K karthik bandaru

    should I set all the groupboxes visible or hidden in pageload ? I have taken grid inside the groupboxes and arranged my controls like textboxes.. If I make groupboxes visible in pageload then while debugging it is showing all the controls in Groupboxes but combo selection change event not working.

    WPF help csharp wpf

  • Groupbox visibility problem in WPF after debugging and changing the combobox value
    K karthik bandaru

    thank u .. i will try and reply u

    WPF help csharp wpf

  • Groupbox visibility problem in WPF after debugging and changing the combobox value
    K karthik bandaru

    ok Thank you but my form contains so many groupboxes which will be changed as per selecting the combo items.. I appreciate your help. :) Any other method of writing it in codebehind by using a switch case will be helpful.

    WPF help csharp wpf

  • Groupbox visibility problem in WPF after debugging and changing the combobox value
    K karthik bandaru

    Thanks for ur reply but i have so many items in combobox by which groupbox visibily will depend.. nearly 10 items in combobox

    WPF help csharp wpf

  • Groupbox visibility problem in WPF after debugging and changing the combobox value
    K karthik bandaru

    I need to change my groupbox visibility and I should be able to get those controls in the groupbox1 ,when I change my combobox value in the combobox selectionchange event groupbox2 and its controls should be shown.. line by line execution shows the result i was looking but finally am not able to get the output . This is what I have tried but didn't work for me. Need ur help. if(stringgp1=="group1") { groupbox1.Visibility=Visibility.Visible; groupbox2.visibility=visibility.hidden; } else(something...){}

    karthik

    WPF help csharp wpf
  • Login

  • Don't have an account? Register

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