Click here to Skip to main content
15,921,941 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Farsi Numbers in LTR Mode Pin
DigiOz Multimedia18-Nov-07 5:31
DigiOz Multimedia18-Nov-07 5:31 
Questionbar code scanner izzit possible? Pin
neodeaths17-Nov-07 11:09
neodeaths17-Nov-07 11:09 
AnswerRe: bar code scanner izzit possible? Pin
Christian Graus17-Nov-07 12:18
protectorChristian Graus17-Nov-07 12:18 
AnswerRe: bar code scanner izzit possible? Pin
DigiOz Multimedia17-Nov-07 14:47
DigiOz Multimedia17-Nov-07 14:47 
QuestionDocumentation Generator? Pin
Nancy K16-Nov-07 11:43
Nancy K16-Nov-07 11:43 
AnswerRe: Documentation Generator? Pin
Colin Angus Mackay17-Nov-07 11:38
Colin Angus Mackay17-Nov-07 11:38 
GeneralRe: Documentation Generator? [modified] Pin
Mark Churchill19-Nov-07 14:49
Mark Churchill19-Nov-07 14:49 
QuestionWPF Question - Button Control Pin
Vidvict16-Nov-07 6:57
Vidvict16-Nov-07 6:57 
I am trying to embed a new vector art into a button that is already painted with another vector art.I want this new vector art to take a particular position inside the already existing art that right now paints the button.
I am creating a control template that paints the button based on property triggers & wants to present the new vector art inside the painted art at a specific location through a Content Presenter.Here is how it goes:

<ControlTemplate x:Key="btnCustom" TargetType="{x:Type Button}">
<!-- VisualTree property of ControlTemplate. -->
<Canvas Name="canvas">
<Path Data="" /> *****Here is where I am stuck.I cant find a way to calculate the path where I want to put the content. *********
<ContentPresenter />
</Canvas>
<!-- Triggers property of ControlTemplate. -->

<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="IsMouseOver" Value="True" />
<Condition Property="IsFocused" Value="True" />
</MultiTrigger.Conditions>
<Setter TargetName="canvas" Property="Border.Background" Value="{StaticResource overFocus}" />
</MultiTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
Any ideas??








Vidvict
QuestionStrongly named interop problem Pin
jozsurf15-Nov-07 19:37
jozsurf15-Nov-07 19:37 
QuestionFile info Pin
#realJSOP15-Nov-07 5:40
professional#realJSOP15-Nov-07 5:40 
AnswerRe: File info Pin
led mike15-Nov-07 6:46
led mike15-Nov-07 6:46 
Questionabout ,net farmework 3.0 Pin
alireza45615-Nov-07 3:41
alireza45615-Nov-07 3:41 
AnswerRe: about ,net farmework 3.0 Pin
Pete O'Hanlon15-Nov-07 10:00
mvePete O'Hanlon15-Nov-07 10:00 
QuestionAbout indesign problem in asp.net Pin
gopal_Pandey15-Nov-07 3:39
gopal_Pandey15-Nov-07 3:39 
GeneralRe: About indesign problem in asp.net Pin
Paul Conrad31-Dec-07 9:28
professionalPaul Conrad31-Dec-07 9:28 
Question"Windows" menu item in windows MDI application Pin
RajaSoorya14-Nov-07 8:12
RajaSoorya14-Nov-07 8:12 
AnswerRe: "Windows" menu item in windows MDI application Pin
Giorgi Dalakishvili14-Nov-07 8:56
mentorGiorgi Dalakishvili14-Nov-07 8:56 
AnswerRe: "Windows" menu item in windows MDI application Pin
John_Adams14-Nov-07 9:07
John_Adams14-Nov-07 9:07 
QuestionUsing VS 2008 to distribute a non-.NET app? Pin
mwholt14-Nov-07 6:37
mwholt14-Nov-07 6:37 
AnswerRe: Using VS 2008 to distribute a non-.NET app? Pin
Dave Kreskowiak14-Nov-07 7:19
mveDave Kreskowiak14-Nov-07 7:19 
GeneralRe: Using VS 2008 to distribute a non-.NET app? Pin
mwholt14-Nov-07 8:07
mwholt14-Nov-07 8:07 
GeneralRe: Using VS 2008 to distribute a non-.NET app? Pin
Paul Conrad31-Dec-07 9:28
professionalPaul Conrad31-Dec-07 9:28 
QuestionLocalization doesn't work, please help!!! Pin
jaimachu14-Nov-07 2:06
jaimachu14-Nov-07 2:06 
AnswerRe: Localization doesn't work, please help!!! Pin
Urs Enzler14-Nov-07 2:17
Urs Enzler14-Nov-07 2:17 
GeneralRe: Localization doesn't work, please help!!! Pin
jaimachu14-Nov-07 3:52
jaimachu14-Nov-07 3:52 

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.