Click here to Skip to main content
15,889,034 members
Home / Discussions / WPF
   

WPF

 
QuestionVertical Text in Grid Pin
Adriaan Davel22-Sep-09 21:08
Adriaan Davel22-Sep-09 21:08 
AnswerRe: Vertical Text in Grid Pin
Mark Salsbery23-Sep-09 5:51
Mark Salsbery23-Sep-09 5:51 
GeneralRe: Vertical Text in Grid Pin
Adriaan Davel27-Sep-09 20:03
Adriaan Davel27-Sep-09 20:03 
GeneralRe: Vertical Text in Grid Pin
Mark Salsbery28-Sep-09 6:19
Mark Salsbery28-Sep-09 6:19 
GeneralRe: Vertical Text in Grid Pin
Adriaan Davel28-Sep-09 19:57
Adriaan Davel28-Sep-09 19:57 
GeneralRe: Vertical Text in Grid Pin
Mark Salsbery29-Sep-09 6:54
Mark Salsbery29-Sep-09 6:54 
GeneralRe: Vertical Text in Grid Pin
Adriaan Davel29-Sep-09 19:29
Adriaan Davel29-Sep-09 19:29 
GeneralRe: Vertical Text in Grid [modified] Pin
Mark Salsbery1-Oct-09 6:14
Mark Salsbery1-Oct-09 6:14 
Maybe try the LayoutTransformer in the Silverlight Toolkit[^]
...
    xmlns:layout="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
...

    <Border BorderBrush="SteelBlue" BorderThickness="2" Width="300" Height="200" >
        <Grid Background="LightSteelBlue" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Border Grid.Column="0" BorderBrush="SteelBlue" BorderThickness="2" Background="AntiqueWhite" Margin="4" >
                <layout:LayoutTransformer>
                    <layout:LayoutTransformer.LayoutTransform>
                        <RotateTransform Angle="270" />
                    </layout:LayoutTransformer.LayoutTransform>
                    <TextBlock Text="Rotated Text" FontSize="12" FontWeight="Bold" HorizontalAlignment="Center" />
                </layout:LayoutTransformer>
            </Border>
            <Border Grid.Column="1" BorderBrush="SteelBlue" BorderThickness="2" Background="AntiqueWhite" Margin="4" >
            </Border>
        </Grid>
    </Border>

Easier than trying to manually adjust margins/offsets.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

modified on Thursday, October 1, 2009 1:07 PM

GeneralRe: Vertical Text in Grid Pin
Adriaan Davel1-Oct-09 19:49
Adriaan Davel1-Oct-09 19:49 
GeneralRe: Vertical Text in Grid Pin
Adriaan Davel1-Oct-09 20:16
Adriaan Davel1-Oct-09 20:16 
QuestionWeird blue dots Pin
lhyblue22-Sep-09 20:52
lhyblue22-Sep-09 20:52 
AnswerRe: Weird blue dots Pin
Pete O'Hanlon22-Sep-09 22:34
mvePete O'Hanlon22-Sep-09 22:34 
GeneralRe: Weird blue dots Pin
lhyblue22-Sep-09 23:01
lhyblue22-Sep-09 23:01 
GeneralRe: Weird blue dots Pin
Pete O'Hanlon23-Sep-09 2:08
mvePete O'Hanlon23-Sep-09 2:08 
JokeRe: Weird blue dots Pin
egenis23-Sep-09 0:26
egenis23-Sep-09 0:26 
QuestionWPF vs.... Pin
Chrispie12322-Sep-09 8:32
Chrispie12322-Sep-09 8:32 
AnswerRe: WPF vs.... Pin
Pete O'Hanlon22-Sep-09 9:15
mvePete O'Hanlon22-Sep-09 9:15 
AnswerRe: WPF vs.... Pin
BurNingFat22-Sep-09 20:12
BurNingFat22-Sep-09 20:12 
QuestionWPF FORM with kind of pie chart consisting of 12 coloreed glass segments Pin
carson200522-Sep-09 4:54
carson200522-Sep-09 4:54 
AnswerRe: WPF FORM with kind of pie chart consisting of 12 coloreed glass segments Pin
Pete O'Hanlon22-Sep-09 5:02
mvePete O'Hanlon22-Sep-09 5:02 
QuestionHow to access controls in a Tab control from another usercontrol page. Pin
Nekkantidivya22-Sep-09 2:44
Nekkantidivya22-Sep-09 2:44 
QuestionWPF UserControl in Library - Rendering Pin
skyline9221-Sep-09 23:39
skyline9221-Sep-09 23:39 
AnswerRe: WPF UserControl in Library - Rendering Pin
skyline9222-Sep-09 0:57
skyline9222-Sep-09 0:57 
QuestionCustomize Ambient App Pin
User 602357121-Sep-09 11:39
User 602357121-Sep-09 11:39 
AnswerRe: Customize Ambient App Pin
Richard MacCutchan21-Sep-09 11:45
mveRichard MacCutchan21-Sep-09 11:45 

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.