Click here to Skip to main content
15,916,835 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Creating readonly objects in a WPF RichTextBox Pin
Spacedmc11-Sep-08 12:09
Spacedmc11-Sep-08 12:09 
GeneralRe: Creating readonly objects in a WPF RichTextBox Pin
Pete O'Hanlon11-Sep-08 12:26
mvePete O'Hanlon11-Sep-08 12:26 
GeneralRe: Creating readonly objects in a WPF RichTextBox Pin
chaiguy133713-Sep-08 7:50
chaiguy133713-Sep-08 7:50 
QuestionCan not Convert System.Windows.Controls to System.Windows.Forms.Controls [modified] Pin
bruze11-Sep-08 3:29
bruze11-Sep-08 3:29 
AnswerRe: Can not Convert System.Windows.Controls to System.Windows.Forms.Controls Pin
chaiguy133713-Sep-08 7:56
chaiguy133713-Sep-08 7:56 
QuestionWPF Control Like Asp.net's Datalist Pin
divyesh14329-Sep-08 20:39
divyesh14329-Sep-08 20:39 
QuestionIs it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13378-Sep-08 14:52
chaiguy13378-Sep-08 14:52 
AnswerRe: Is it possible to have a transparent "hole" in a layer of WPF? [modified] Pin
Pete O'Hanlon9-Sep-08 10:51
mvePete O'Hanlon9-Sep-08 10:51 
Is this what you're after?
<Window
	Height="200"
	Width="200"
	Background="#00ffffff"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Window.Resources>
		<SolidColorBrush
			x:Key="Brush1"
			Color="#000033" />
	</Window.Resources>

	<Grid
		x:Name="Layer_1"
		Height="40"
		Width="40">
		<Path
			Margin="0,0,0,0"
			HorizontalAlignment="Left"
			VerticalAlignment="Top"
			Height="40"
			Width="40"
			Stretch="Fill"
			Opacity="1"
			Data="M 8.5,14 C8.5,14 12.75,8.5 
12.75,8.5 14.498807907104492,
8.148337364196777 19.34754753112793,
14.70925235748291 20.5,
16 22.119489669799805,
17.813827514648438 
27.8398494720459,
8.910149574279785 29.75,
7 30.831758499145508,
9.835678100585938 32.206844329833984,
13.383567810058594 32,16.5 32,
16.5 28.25,22.5 28.25,
22.5 33.222450256347656,
27.986970901489258 40.2801399230957,
26.194717407226562 27.75,
34 27.75,34 22.25,
27.25 22.25,27.25 18.401948928833008,
28.660367965698242 14.9323091506958,
29.884185791015625 11.5,32.25 5.261133193969727,
27.62375831604004 9.23710823059082,
22.89365005493164 14.75,
19.5 14.75,
19.5 8.5,
15.75 8.5,
15.75 8.5,
15.75 8.5,
14 8.5,
14 zM 0,
20 C0,
31.04583740234375 8.95416259765625,
40 20,
40 31.04583740234375,
40 40,
31.04583740234375 40,
20 40,
8.95416259765625 31.04583740234375,
0 20,
0 8.95416259765625,
0 0,8.95416259765625 0,
20 z"
			Fill="{StaticResource Brush1}" />
	</Grid>
</Window>
I knocked a rough version together in Fireworks, and then used the free Infragistics Fireworks to XAML Converter to output it.



Last modified: 33mins after originally posted --


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13379-Sep-08 11:09
chaiguy13379-Sep-08 11:09 
GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
Pete O'Hanlon9-Sep-08 11:12
mvePete O'Hanlon9-Sep-08 11:12 
GeneralRe: Is it possible to have a transparent "hole" in a layer of WPF? Pin
chaiguy13379-Sep-08 11:22
chaiguy13379-Sep-08 11:22 
QuestionComposite Application Guidance Pin
Jammer8-Sep-08 0:52
Jammer8-Sep-08 0:52 
AnswerRe: Composite Application Guidance Pin
Pete O'Hanlon8-Sep-08 1:07
mvePete O'Hanlon8-Sep-08 1:07 
GeneralRe: Composite Application Guidance Pin
Jammer8-Sep-08 1:12
Jammer8-Sep-08 1:12 
QuestionHow to make a WPF control appear on top of all other controls? Pin
Pravinc19848-Sep-08 0:43
Pravinc19848-Sep-08 0:43 
AnswerRe: How to make a WPF control appear on top of all other controls? Pin
Insincere Dave8-Sep-08 6:30
Insincere Dave8-Sep-08 6:30 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
Pravinc19848-Sep-08 18:55
Pravinc19848-Sep-08 18:55 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
chaiguy13379-Sep-08 11:17
chaiguy13379-Sep-08 11:17 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
chaiguy13379-Sep-08 11:19
chaiguy13379-Sep-08 11:19 
GeneralRe: How to make a WPF control appear on top of all other controls? Pin
Tinkering Turtle23-Sep-09 10:10
Tinkering Turtle23-Sep-09 10:10 
QuestionHow to change Image Source on MouseDown event in WPF? Pin
divyesh14327-Sep-08 19:00
divyesh14327-Sep-08 19:00 
AnswerRe: How to change Image Source on MouseDown event in WPF? Pin
Pete O'Hanlon7-Sep-08 23:45
mvePete O'Hanlon7-Sep-08 23:45 
GeneralRe: How to change Image Source on MouseDown event in WPF? Pin
JoanComasFdz28-Oct-10 6:43
JoanComasFdz28-Oct-10 6:43 
QuestionHow to add Controls to ListView Control in WPF Pin
bruze6-Sep-08 10:16
bruze6-Sep-08 10:16 
AnswerRe: How to add Controls to ListView Control in WPF Pin
Pete O'Hanlon7-Sep-08 8:44
mvePete O'Hanlon7-Sep-08 8:44 

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.