DCSIMG
XAML - Guy

Guy

Blog about .Net, architechture and Oracle

Browse by Tags

All Tags » XAML (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)
תגים:, ,