Twitter
ADC08

WPF TextBlock Strikethrough

Scott Hanselman is looking for WPF TextBlock with stroke text.
With WPF this is a really easy and flexible task to do. What needs to be done is to set the Decorations of the TextBlock:

<TextBlock FontSize="18">
  <TextBlock.TextDecorations>
    <TextDecoration Location="Strikethrough">
      <TextDecoration.Pen>
        <Pen Brush="Red" />
      </TextDecoration.Pen>
    </TextDecoration>
  </TextBlock.TextDecorations>
  Sample
</TextBlock>

Christian

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Scott Hanselman

Thanks, but I don't mean strike but stroke. I want an *outline* of x pixels AROUND the edge of the letters. Like a red letter with a 3 pixel black edge.

ClubPenguin

Thanks for sharing with us. It is awfully good of you.

taobao buy

GOOD LUCK!

retro jordan 13

Thank you for your opiniones and words, dear brothers!
David: yes, in our Spanish speaking world ABBA BIBLES is the only one that rebinds Bibles with high quality leathers and methods. I asked them to upgrade their website, because there will be a lot of people interested in their services. And for Spanish, well, it's the language of Heaven! Isn't it?
Esteban & Abraham: yes, the RVR60 is the most used and trusted Bible in our Spanish speaking churches. The RVR95 is just the last revision of that one, and only affects some words and the order of poetry, but not the Reina-Valera principles. I also have another Bibles versions rebounded by Abba Bibles, and like Mark said, today just is the beggining of the posts about them. Be patient!

UGG Shoes

**This is one lovely looking layered salad!

zolpidem generic

Thanks for sharing with us. It is awfully good of you.

Web Design Tampa

I think there will be a lot of people interested in their services. And for Spanish, well, it's the language of Heaven! Isn't it?

Thomas Sabo Australia

I became interested in the topic and I am thinking whether I could use your texts on my paper, of course with the quotation. Please contact with me, thanks very much.

Moncler Jakke

Don't know what is wrong what is rite but i know that every one has there own point of view and same goes to this one

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)