how to get the scroll vertical and scroll horizantal for a page created in WPF
-
Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm
-
Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm
Guys, I am able to scroll it now using <ScrollViewer></ScrollViewer>.. I removed the Height="800" Width="1400" from the xaml code.. its fine now. Thank you, Ramm
-
Hi Guys, In the general xaml code, i have written as follows, <pre>Page x:Class="UI_eHTMP.Window1" Title="eHTMP Application" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="800" Width="1400" Loaded="Window_Loaded" Title="applc1" Background="OldLace"></page></pre> when I run the appliction and try to restore and Maximize the windows page, i dont see the task bar and vertical and horizantal scroll bars to scroll, what to be included in the xaml code? Even the title is also not displayed when i have mentioned in the xaml title. Please help me in resolvign this. Thank you, Ramm
- I don't see in the XAML you posted where you're telling the window to scroll. 1) Scrollbars are typically set to "Auto" so they only appear when scrolling is needed. 2) Learn how to post code here. It's ALMOST IMPOSSIBLE to read code when it's posted with a proportional font.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
- I don't see in the XAML you posted where you're telling the window to scroll. 1) Scrollbars are typically set to "Auto" so they only appear when scrolling is needed. 2) Learn how to post code here. It's ALMOST IMPOSSIBLE to read code when it's posted with a proportional font.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001Hi John, In the 3rd line of my post, i have entered the xaml code.. just the first few lines.. Thank You, Ramm