what is dock row

Discussion in 'C#' started by omosis2, May 19, 2016.

  1. omosis2

    omosis2 New Member

    Joined:
    May 19, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    what can I do to make your row stay on top or at the bottom of you hierarchy.
     
  2. andlaty4real

    andlaty4real New Member

    Joined:
    May 19, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I use dapfor wpf gridcontrol and when your row stay at the top and the bottom of your hierarchy, it is called docking of row.

    C#
    //Dock row to the bottom
    grid.Rows[8].Dock = RowDockStyle.Bottom;

    //Dock row to the top
    grid.Rows[9].Dock = RowDockStyle.Top;

    //Undock row
    grid.Rows[0].Dock = RowDockStyle.None;
     
  3. Ami Desai

    Ami Desai Member

    Joined:
    Jan 5, 2017
    Messages:
    42
    Likes Received:
    17
    Trophy Points:
    8
    Location:
    Ahmedabad
    Home Page:
    http://www.ifourtechnolab.com/
    Hi,

    you can check this


    Thanks
     
    shabbir likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice