DCSIMG
WPF - Guy

Guy

Blog about .Net, architechture and Oracle

Browse by Tags

All Tags » WPF (RSS)
WPF Scrolling
WPF Scrolling In WPF you get scrolling support by wrapping the content control you want to add scrolling to with the ScrollViewer content control. < ScrollViewer > < TextBlock LineHeight ="20" Grid.Row ="0"> </ TextBlock > </ ScrollViewer > It adds a disabled scroll which changes to enabled if the content has overflowed the size of it’s container. You may use the VerticalScrollBarVisibility ="Auto" property of the ScrollViewer if you wish the...
Posted: Jul 06 2009, 01:08 PM by Guy Shvoron | with no comments
תגים:, ,
WPF Grid Shared Size Groups
WPF Grid Shared Size Groups The Grid rows and columns are given a direct size by the developer or are automatically sized by their content’s size. By using shared sized group feature you may also set the size of the rows or columns by the size of a different row/column at the current grid or from a different grid available in the page. For example, you may set the column width of column 2 by the column width of column one at the same grid. You may also set the column width of column 2 at grid 2 by...
Posted: Jun 30 2009, 08:54 AM by Guy Shvoron | with 2 comment(s)
תגים:, ,
XAML special characters and white spaces
XAML special characters and white spaces Some beginner stuff i found a lot of people do not know about. XAML is based upon the rules of XML . What this means is that characters such as ‘&’, ‘<’, ‘>’ and ‘”’ have their own meaning in XML and the XAML parser will understand them differently then what you intended them for. If you wish your button’s content to look like this <I am a Button> then you must change your XAML text to < Button Content ="&lt;I am a Button&gt;"><...
Posted: Jun 24 2009, 09:13 AM by Guy Shvoron | with 1 comment(s)
תגים:, ,
Scrolling Text animation in WPF
Scrolling Text animation in WPF In one of our WPF applications we came across the need to present static data that is larger then it’s container (grid/text block/panel). We could have chosen to reduce the font size, but this was inappropriate for our situation because the application was intended to appear on a LCD screen and be seen from as far as possible. We decided to present the text inside a text block and scroll it (bottom to top) if it became too large for the text block. After quite a few...
3D WPF samples by Josh Smith
Look here at these awesome 3D WPF samples. Josh Smith shows what you need to add cool 3D abilities to you application.
Posted: Jun 15 2009, 09:07 AM by Guy Shvoron | with no comments
תגים:, ,