Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1923
Pane size
posted

Is there an easy way to determine what size a pane is in pixels? regardless of what unit was specified...

Parents
  • 28407
    posted

     

    HI,

    Here some code to get the size and size type of a pane.

      protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = WebSplitter1.Panes[0].Size.Type.ToString() + "  " + WebSplitter1.Panes[0].Size.Value.ToString();
        }

Reply Children
No Data