Click here to Skip to main content
15,889,773 members
Home / Discussions / WPF
   

WPF

 
AnswerResolved. Pin
thrakazog21-Aug-09 9:52
thrakazog21-Aug-09 9:52 
QuestionSheet music Pin
Tony Pottier21-Aug-09 5:58
Tony Pottier21-Aug-09 5:58 
AnswerRe: Sheet music Pin
#realJSOP21-Aug-09 7:12
mve#realJSOP21-Aug-09 7:12 
GeneralRe: Sheet music Pin
Tony Pottier21-Aug-09 10:59
Tony Pottier21-Aug-09 10:59 
GeneralRe: Sheet music Pin
Richard MacCutchan31-Aug-09 5:19
mveRichard MacCutchan31-Aug-09 5:19 
QuestionHow to handle Different Modules in MVP ?? Pin
Krishna Aditya20-Aug-09 22:50
Krishna Aditya20-Aug-09 22:50 
AnswerRe: How to handle Different Modules in MVP ?? Pin
Richard MacCutchan31-Aug-09 5:32
mveRichard MacCutchan31-Aug-09 5:32 
QuestionHow to stretch the image of (1* 66 ) pixel Pin
Krishna Aditya20-Aug-09 5:15
Krishna Aditya20-Aug-09 5:15 
Hi,

In a WPF Application using XAML,

I have 2 images, which needs to be oriental of horizantal. One is of width 784 * 66 and other is 1 * 66.

while, design time, since my window is auto it shows properly, but during runtime, the window is of 1280 width... so, the image 1 * 66 should stretch and cover the rest (1280 - (784 + 1))

|____________________________|_|

should become

|____________________________|_______________________|

which means , my firstimage should have the same width (784) and the second image should stretch to cover the rest even though its only one pixel.


<Grid HorizontalAlignment="Left" Height="66" Name="grdTopImages">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" MinWidth="1" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="66" />
</Grid.RowDefinitions>
<Image Name="imgClientPhoto" Grid.Column="0" Grid.Row="0" Source="/Honeywell.eHTMP;component/Resources/_left.gif"></Image>
<Image Name="imgExtraImg" Grid.Column="1" Grid.Row="0" Stretch="Fill" Source="/Honeywell.eHTMP;component/Resources/_right.gif"></Image>
</Grid>


Please help me

Thanks
Ramm
AnswerRe: How to stretch the image of (1* 66 ) pixel Pin
Krishna Aditya20-Aug-09 5:53
Krishna Aditya20-Aug-09 5:53 
QuestionNavigation framework in tabs Pin
tcook81520-Aug-09 2:50
tcook81520-Aug-09 2:50 
AnswerRe: Navigation framework in tabs Pin
Michael Sync29-Aug-09 18:56
Michael Sync29-Aug-09 18:56 
QuestionHow to create a collapsible panel in WPF Pin
Krishna Aditya19-Aug-09 23:45
Krishna Aditya19-Aug-09 23:45 
AnswerRe: How to create a collapsible panel in WPF Pin
Pete O'Hanlon20-Aug-09 0:08
mvePete O'Hanlon20-Aug-09 0:08 
GeneralRe: How to create a collapsible panel in WPF Pin
abetterword29-Dec-10 9:20
abetterword29-Dec-10 9:20 
QuestionUDP & WCF Pin
Mohammad Dayyan19-Aug-09 22:00
Mohammad Dayyan19-Aug-09 22:00 
AnswerRe: UDP & WCF Pin
Pete O'Hanlon19-Aug-09 22:51
mvePete O'Hanlon19-Aug-09 22:51 
QuestionProblem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky19-Aug-09 21:15
ravi.vellanky19-Aug-09 21:15 
QuestionRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Mark Salsbery20-Aug-09 6:03
Mark Salsbery20-Aug-09 6:03 
AnswerRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky20-Aug-09 18:18
ravi.vellanky20-Aug-09 18:18 
GeneralRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Mark Salsbery21-Aug-09 6:55
Mark Salsbery21-Aug-09 6:55 
AnswerRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
Edbert P31-Aug-09 16:33
Edbert P31-Aug-09 16:33 
GeneralRe: Problem with Silverlight application using WCF Service to get the data from database without LINQ Pin
ravi.vellanky31-Aug-09 18:15
ravi.vellanky31-Aug-09 18:15 
QuestionWPFToolkit - Sort Arrows in DataGrid Pin
#realJSOP19-Aug-09 4:42
mve#realJSOP19-Aug-09 4:42 
AnswerRe: WPFToolkit - Sort Arrows in DataGrid Pin
User 27100923-Aug-09 4:54
User 27100923-Aug-09 4:54 
QuestionPopulate a DataGrid WITHOUT Binding Pin
#realJSOP19-Aug-09 3:23
mve#realJSOP19-Aug-09 3:23 

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.