Click here to Skip to main content
15,311,944 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Reading a XML file from IsolatedStorage ? Pin
Mohammad Dayyan13-Apr-09 22:34
MemberMohammad Dayyan13-Apr-09 22:34 
QuestionRe: Reading a XML file from IsolatedStorage ? Pin
Mark Salsbery14-Apr-09 6:24
MemberMark Salsbery14-Apr-09 6:24 
AnswerRe: Reading a XML file from IsolatedStorage ? Pin
Mohammad Dayyan14-Apr-09 10:56
MemberMohammad Dayyan14-Apr-09 10:56 
QuestionXAML - TreeView with CheckBoxes Pin
Jack Kril13-Apr-09 13:26
MemberJack Kril13-Apr-09 13:26 
AnswerRe: XAML - TreeView with CheckBoxes Pin
Eslam Afifi13-Apr-09 13:59
MemberEslam Afifi13-Apr-09 13:59 
QuestionClipping To Rounded Corners Pin
#realJSOP13-Apr-09 5:27
mva#realJSOP13-Apr-09 5:27 
AnswerRe: Clipping To Rounded Corners [modified] Pin
Eslam Afifi13-Apr-09 7:42
MemberEslam Afifi13-Apr-09 7:42 
AnswerRe: Clipping To Rounded Corners Pin
Mark Salsbery13-Apr-09 9:45
MemberMark Salsbery13-Apr-09 9:45 
It tries to clip - just in a braindead way.

For example:
<Border Height="100" VerticalAlignment="Top" BorderBrush="Black"
         BorderThickness="2" HorizontalAlignment="Left" Width="300" CornerRadius="20">
    <StackPanel Orientation="Horizontal" Background="SteelBlue" >
        <StackPanel.Clip>
            <RectangleGeometry Rect="0,0,300,100" RadiusX="20" RadiusY="20" />
        </StackPanel.Clip>
        <Label Height="26" Name="label1" Width="100" HorizontalAlignment="Left" VerticalAlignment="Top"
             HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontFamily="Arial" FontSize="14"
             FontStyle="Italic" FontWeight="Bold" Content="Contacts" Background="Black" Foreground="LightSteelBlue" >
            <Label.LayoutTransform>
                <RotateTransform Angle="270" />
            </Label.LayoutTransform>
        </Label>
    </StackPanel>
</Border>

Monkeying with the radius values, sometimes it does ok, sometimes it doesn't.

No bueno.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: Clipping To Rounded Corners Pin
sivaddrahcir20-Apr-09 8:31
Membersivaddrahcir20-Apr-09 8:31 
QuestionOnRenderComplete like event for WPF controls Pin
Pankaj Chamria13-Apr-09 1:38
MemberPankaj Chamria13-Apr-09 1:38 
QuestionContext menu in Datatemplate Pin
mikla52111-Apr-09 5:39
Membermikla52111-Apr-09 5:39 
QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery11-Apr-09 7:42
MemberMark Salsbery11-Apr-09 7:42 
AnswerRe: Context menu in Datatemplate [modified] Pin
mikla52111-Apr-09 19:54
Membermikla52111-Apr-09 19:54 
QuestionRe: Context menu in Datatemplate Pin
Mark Salsbery13-Apr-09 8:47
MemberMark Salsbery13-Apr-09 8:47 
AnswerRe: Context menu in Datatemplate Pin
mikla52113-Apr-09 21:11
Membermikla52113-Apr-09 21:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 7:00
MemberMark Salsbery14-Apr-09 7:00 
GeneralRe: Context menu in Datatemplate Pin
mikla52114-Apr-09 20:11
Membermikla52114-Apr-09 20:11 
GeneralRe: Context menu in Datatemplate Pin
Mark Salsbery14-Apr-09 20:23
MemberMark Salsbery14-Apr-09 20:23 
QuestionInheritence in XAML Pin
0x3c010-Apr-09 9:09
Member0x3c010-Apr-09 9:09 
AnswerRe: Inheritence in XAML Pin
0x3c010-Apr-09 9:24
Member0x3c010-Apr-09 9:24 
QuestionStyles - Where Do I Put them? Pin
#realJSOP10-Apr-09 8:57
mva#realJSOP10-Apr-09 8:57 
AnswerRe: Styles - Where Do I Put them? Pin
R2B210-Apr-09 9:15
MemberR2B210-Apr-09 9:15 
GeneralRe: Styles - Where Do I Put them? Pin
#realJSOP10-Apr-09 10:21
mva#realJSOP10-Apr-09 10:21 
GeneralRe: Styles - Where Do I Put them? Pin
R2B210-Apr-09 10:59
MemberR2B210-Apr-09 10:59 
AnswerRe: Styles - Where Do I Put them? Pin
Mark Salsbery10-Apr-09 9:31
MemberMark Salsbery10-Apr-09 9:31 

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.