How to set bitmap on a button control?
-
Hi All, I am working with WPF application but i am new with that so i have to add bitmap on button at bottum. can anybody give some idea how can i add images on button and text at top of the button in WPF Application? Thanks Bankey
-
Hi All, I am working with WPF application but i am new with that so i have to add bitmap on button at bottum. can anybody give some idea how can i add images on button and text at top of the button in WPF Application? Thanks Bankey
Well, from memory you could always assign one like this
:<Button Width="75" Height="40">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Grid.Row="0">
<AccessText>_Hello</AccessText>
</TextBlock>
<Image Grid.Row="1" x:Name="vista_png" Source="vista.png"/>
</Grid>
</Button>Deja View - the feeling that you've seen this post before.
-
Hi All, I am working with WPF application but i am new with that so i have to add bitmap on button at bottum. can anybody give some idea how can i add images on button and text at top of the button in WPF Application? Thanks Bankey
I have a button control with image, image and text or just text in this article: http://www.codeproject.com/KB/WPF/WPFBusinessAppsPartThree.aspx[^]
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
I have a button control with image, image and text or just text in this article: http://www.codeproject.com/KB/WPF/WPFBusinessAppsPartThree.aspx[^]
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Karl - how dare you get some sleep? I've been fielding questions on my own ;)
Deja View - the feeling that you've seen this post before.
-
Karl - how dare you get some sleep? I've been fielding questions on my own ;)
Deja View - the feeling that you've seen this post before.
Yep, Being 5 hours behind you, helps my stress level! LOL! :cool:
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
Yep, Being 5 hours behind you, helps my stress level! LOL! :cool:
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Karl Shifflett wrote:
Being 5 hours behind you, helps my stress level! LOL!
I'm glad I can help. ;)
Deja View - the feeling that you've seen this post before.
-
Karl Shifflett wrote:
Being 5 hours behind you, helps my stress level! LOL!
I'm glad I can help. ;)
Deja View - the feeling that you've seen this post before.
Pete, Help??? You are The Man. We are all very lucky to have you provide assistance to us in this forum. Thanks for helping all of us!
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
Pete, Help??? You are The Man. We are all very lucky to have you provide assistance to us in this forum. Thanks for helping all of us!
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Karl Shifflett wrote:
Help??? You are The Man. We are all very lucky to have you provide assistance to us in this forum.
:-O Karl. You don't know how much that means to me coming from a WPF guru like yourself. I count myself lucky to be on a site that has people like yourself, Josh and Sacha on it. Your articles are a real inspiration. Wow - enough self congratulations from us. Let's just admit that we're "The Men". :-D
Deja View - the feeling that you've seen this post before.
-
Karl Shifflett wrote:
Help??? You are The Man. We are all very lucky to have you provide assistance to us in this forum.
:-O Karl. You don't know how much that means to me coming from a WPF guru like yourself. I count myself lucky to be on a site that has people like yourself, Josh and Sacha on it. Your articles are a real inspiration. Wow - enough self congratulations from us. Let's just admit that we're "The Men". :-D
Deja View - the feeling that you've seen this post before.
Just two regular guys keeping it real and returning back to the community that helped us get going and keep our sanity. :cool:
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
-
Just two regular guys keeping it real and returning back to the community that helped us get going and keep our sanity. :cool:
Cheers, Karl
» CodeProject 2008 MVP » Microsoft MVP - Client App Dev My Blog | Mole's Home Page | MVP ProfileJust a grain of sand on the worlds beaches.
Karl Shifflett wrote:
Just two regular guys keeping it real and returning back to the community that helped us get going and keep our sanity
I'd go with that. :)
Deja View - the feeling that you've seen this post before.