Click here to Skip to main content
13,867,097 members

Silverlight / WPF

 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 8:36
membercjb11025-Mar-13 8:36 
QuestionProblems on ListView Control in WPF Pin
bikah chanda mohanta21-Mar-13 3:56
memberbikah chanda mohanta21-Mar-13 3:56 
AnswerRe: Problems on ListView Control in WPF Pin
Kenneth Haugland22-Mar-13 3:03
professionalKenneth Haugland22-Mar-13 3:03 
QuestionRoute Event for Button border Pin
Member 878633518-Mar-13 21:50
memberMember 878633518-Mar-13 21:50 
QuestionWPF treeview with circular reference not updating the childTreeviewItem Pin
geetha naidu17-Mar-13 1:39
membergeetha naidu17-Mar-13 1:39 
QuestionStack panel Pin
columbos1492715-Mar-13 10:35
membercolumbos1492715-Mar-13 10:35 
AnswerRe: Stack panel Pin
Gerry Schmitz15-Mar-13 12:01
mveGerry Schmitz15-Mar-13 12:01 
AnswerRe: Stack panel Pin
Mycroft Holmes15-Mar-13 14:30
memberMycroft Holmes15-Mar-13 14:30 
I used a wrap panel from the tool kit for this, bind it to a collection and add/delete the items in the collection.

<ItemsControl Grid.Row="1"  ItemsSource="{Binding FleetList}" HorizontalAlignment="Center" VerticalAlignment="Center">
					<ItemsControl.ItemsPanel>
						<ItemsPanelTemplate>
							<toolkit:WrapPanel/>
						</ItemsPanelTemplate>
					</ItemsControl.ItemsPanel>
					<ItemsControl.ItemTemplate>
						<DataTemplate>
							<HyperlinkButton Click="HyperlinkButton_Click" Tag="{Binding Path=FleetID}" HorizontalContentAlignment="Center" >
								<Grid HorizontalAlignment="Center" >
									<Grid.RowDefinitions>
										<RowDefinition/>
										<RowDefinition/>
									</Grid.RowDefinitions>
									<Image Grid.Row="0" Stretch="None" Source="{Binding Path=FleetLogoUri}" HorizontalAlignment="Center" ImageFailed="GetDefaultImage" Loaded="ImageLoaded" />
									<TextBlock Grid.Row="1" Foreground="Blue" Text="{Binding Path=Fleet}" HorizontalAlignment="Center" />
								</Grid>
							</HyperlinkButton>
						</DataTemplate>
					</ItemsControl.ItemTemplate>
				</ItemsControl>

Never underestimate the power of human stupidity
RAH

QuestionHow to add multiple button into same datacell in DataGrid column Pin
Jayantha Bandara15-Mar-13 1:45
memberJayantha Bandara15-Mar-13 1:45 
AnswerRe: How to add multiple button into same datacell in DataGrid column Pin
Pete O'Hanlon15-Mar-13 2:14
protectorPete O'Hanlon15-Mar-13 2:14 
AnswerRe: How to add multiple button into same datacell in DataGrid column Pin
Jayantha Bandara15-Mar-13 2:41
memberJayantha Bandara15-Mar-13 2:41 
GeneralRe: How to add multiple button into same datacell in DataGrid column Pin
Mycroft Holmes15-Mar-13 14:26
memberMycroft Holmes15-Mar-13 14:26 
QuestionLoading XAML at runtime Pin
Jayme6514-Mar-13 9:11
memberJayme6514-Mar-13 9:11 
AnswerRe: Loading XAML at runtime Pin
marimuthu2620-Mar-13 4:54
membermarimuthu2620-Mar-13 4:54 
QuestionWPF First Start Performance Pin
savbace14-Mar-13 3:16
membersavbace14-Mar-13 3:16 
AnswerRe: WPF First Start Performance Pin
Richard MacCutchan14-Mar-13 4:04
protectorRichard MacCutchan14-Mar-13 4:04 
QuestionWPF MVVM application Pin
Member 878633514-Mar-13 2:49
memberMember 878633514-Mar-13 2:49 
AnswerRe: WPF MVVM application Pin
NotPolitcallyCorrect14-Mar-13 3:50
memberNotPolitcallyCorrect14-Mar-13 3:50 
AnswerRe: WPF MVVM application Pin
Wayne Gaylard14-Mar-13 8:53
mentorWayne Gaylard14-Mar-13 8:53 
AnswerRe: WPF MVVM application Pin
Abhinav S18-Mar-13 8:09
memberAbhinav S18-Mar-13 8:09 
AnswerRe: WPF MVVM application Pin
_Maxxx_1-Apr-13 20:52
professional_Maxxx_1-Apr-13 20:52 
Questionsilverlight file upload, error not displays on browser Pin
vpraveen12-Mar-13 22:30
membervpraveen12-Mar-13 22:30 
AnswerRe: silverlight file upload, error not displays on browser Pin
Pete O'Hanlon12-Mar-13 22:52
protectorPete O'Hanlon12-Mar-13 22:52 
GeneralRe: silverlight file upload, error not displays on browser Pin
vpraveen13-Mar-13 0:08
membervpraveen13-Mar-13 0:08 
GeneralRe: silverlight file upload, error not displays on browser Pin
Pete O'Hanlon13-Mar-13 0:12
protectorPete O'Hanlon13-Mar-13 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190214.1 | Last Updated 14 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid