Click here to Skip to main content
15,890,438 members
Home / Discussions / WPF
   

WPF

 
Questionhow to set the icon for output result(.exe) in vs2022 ? Pin
Member 136170031-Feb-23 14:56
Member 136170031-Feb-23 14:56 
AnswerRe: how to set the icon for output result(.exe) in vs2022 ? Pin
Richard MacCutchan1-Feb-23 21:12
mveRichard MacCutchan1-Feb-23 21:12 
GeneralRe: how to set the icon for output result(.exe) in vs2022 ? Pin
Member 136170032-Feb-23 13:43
Member 136170032-Feb-23 13:43 
QuestionExpander Width Problem Pin
Kevin Marois13-Jan-23 13:01
professionalKevin Marois13-Jan-23 13:01 
AnswerRe: Expander Width Problem Pin
Gerry Schmitz14-Jan-23 5:43
mveGerry Schmitz14-Jan-23 5:43 
QuestionTabItem Render Pin
Kevin Marois9-Jan-23 18:59
professionalKevin Marois9-Jan-23 18:59 
AnswerRe: TabItem Render Pin
Pete O'Hanlon9-Jan-23 19:38
mvePete O'Hanlon9-Jan-23 19:38 
GeneralRe: TabItem Render Pin
Kevin Marois9-Jan-23 20:07
professionalKevin Marois9-Jan-23 20:07 
GeneralRe: TabItem Render Pin
Pete O'Hanlon9-Jan-23 20:38
mvePete O'Hanlon9-Jan-23 20:38 
GeneralRe: TabItem Render Pin
Gerry Schmitz10-Jan-23 6:45
mveGerry Schmitz10-Jan-23 6:45 
QuestionWPF Custom Control & User Control Pin
Kevin Marois30-Dec-22 18:49
professionalKevin Marois30-Dec-22 18:49 
AnswerRe: WPF Custom Control & User Control Pin
Graeme_Grant31-Dec-22 3:18
mvaGraeme_Grant31-Dec-22 3:18 
GeneralRe: WPF Custom Control & User Control Pin
Kevin Marois31-Dec-22 8:44
professionalKevin Marois31-Dec-22 8:44 
GeneralRe: WPF Custom Control & User Control Pin
Graeme_Grant31-Dec-22 10:53
mvaGraeme_Grant31-Dec-22 10:53 
AnswerRe: WPF Custom Control & User Control Pin
Sandeep Mewara31-Dec-22 8:55
mveSandeep Mewara31-Dec-22 8:55 
GeneralRe: WPF Custom Control & User Control Pin
Kevin Marois31-Dec-22 14:59
professionalKevin Marois31-Dec-22 14:59 
AnswerRe: WPF Custom Control & User Control Pin
Gerry Schmitz31-Dec-22 10:58
mveGerry Schmitz31-Dec-22 10:58 
GeneralRe: WPF Custom Control & User Control Pin
Kevin Marois31-Dec-22 14:59
professionalKevin Marois31-Dec-22 14:59 
GeneralRe: WPF Custom Control & User Control Pin
Gerry Schmitz1-Jan-23 2:59
mveGerry Schmitz1-Jan-23 2:59 
GeneralRe: WPF Custom Control & User Control Pin
Kevin Marois1-Jan-23 14:27
professionalKevin Marois1-Jan-23 14:27 
QuestionPath Image Pin
Kevin Marois28-Dec-22 16:27
professionalKevin Marois28-Dec-22 16:27 
AnswerRe: Path Image Pin
Gerry Schmitz28-Dec-22 17:02
mveGerry Schmitz28-Dec-22 17:02 
GeneralRe: Path Image Pin
Kevin Marois28-Dec-22 18:53
professionalKevin Marois28-Dec-22 18:53 
GeneralRe: Path Image Pin
Gerry Schmitz29-Dec-22 4:40
mveGerry Schmitz29-Dec-22 4:40 
No, I'm not seeing that. You're either inheriting something; or it's a version thing. I tested it with a new WPF .NET 6.0 project.
<Window x:Class="WpfApp1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow"
        Height="450"
        Width="800">
    <Grid>
        <Button Height="25"
                Width="75">

<pre>
        <Viewbox Stretch="Uniform"
                 Height="20"
                 Width="20">

            <Canvas Height="122.88"
                    Width="122.88">

            <Path Fill="Red"
                  Data="M73.48,15.84A46.87,46.87,0,0,1,84.87,21L91,14.84a7.6,7.6,0,0,1,10.72,0L108,21.15a7.6,7.6,0,0,1,0,10.72l-6.6,6.6a46.6,46.6,0,0,1,4.34,10.93h9.52A7.6,7.6,0,0,1,122.88,57V65.9a7.6,7.6,0,0,1-7.58,7.58h-9.61a46.83,46.83,0,0,1-4.37,10.81L108,91a7.6,7.6,0,0,1,0,10.72L101.73,108A7.61,7.61,0,0,1,91,108l-6.34-6.35a47.22,47.22,0,0,1-11.19,5v8.59a7.6,7.6,0,0,1-7.58,7.58H57a7.6,7.6,0,0,1-7.58-7.58v-7.76a47.39,47.39,0,0,1-12.35-4.68L31.87,108a7.62,7.62,0,0,1-10.72,0l-6.31-6.31a7.61,7.61,0,0,1,0-10.72l4.72-4.72A47.38,47.38,0,0,1,14,73.48H7.58A7.6,7.6,0,0,1,0,65.9V57A7.6,7.6,0,0,1,7.58,49.4h6.35a47.2,47.2,0,0,1,5.51-12.94l-4.6-4.59a7.62,7.62,0,0,1,0-10.72l6.31-6.31a7.6,7.6,0,0,1,10.72,0l5,5A46.6,46.6,0,0,1,49.4,15V7.58A7.6,7.6,0,0,1,57,0H65.9a7.6,7.6,0,0,1,7.58,7.58v8.26ZM59.86,36.68a24.6,24.6,0,1,1-24.6,24.59,24.59,24.59,0,0,1,24.6-24.59Z" />

            </Canvas>

        </Viewbox>

    </Button>
</Grid>





"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

QuestionWPF editor is duplicating my image files Pin
tbenner196016-Dec-22 4:54
tbenner196016-Dec-22 4:54 

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.