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

WPF

 
GeneralRe: WPF TreeViewItem Header Binding Pin
Mark Salsbery31-May-09 20:36
Mark Salsbery31-May-09 20:36 
QuestionWPF and XML question Pin
Etienne_12330-May-09 1:59
Etienne_12330-May-09 1:59 
AnswerRe: WPF and XML question Pin
Pete O'Hanlon30-May-09 10:37
mvePete O'Hanlon30-May-09 10:37 
QuestionNumber updown control in WPF Pin
Nekkantidivya30-May-09 0:48
Nekkantidivya30-May-09 0:48 
AnswerRe: Number updown control in WPF Pin
ABitSmart30-May-09 1:41
ABitSmart30-May-09 1:41 
AnswerRe: Number updown control in WPF Pin
fjparisIII30-May-09 9:01
fjparisIII30-May-09 9:01 
QuestionWebbrowser control in Silver light Pin
Nekkantidivya29-May-09 19:43
Nekkantidivya29-May-09 19:43 
AnswerRe: Webbrowser control in Silver light Pin
Mark Salsbery31-May-09 9:20
Mark Salsbery31-May-09 9:20 
QuestionWPF and XML help Pin
Etienne_12329-May-09 3:56
Etienne_12329-May-09 3:56 
AnswerRe: WPF and XML help Pin
Mark Salsbery29-May-09 7:33
Mark Salsbery29-May-09 7:33 
AnswerRe: WPF and XML help Pin
Mark Salsbery29-May-09 8:35
Mark Salsbery29-May-09 8:35 
QuestionLink to Google Pin
mark_w_29-May-09 1:38
mark_w_29-May-09 1:38 
AnswerRe: Link to Google Pin
Pete O'Hanlon29-May-09 1:53
mvePete O'Hanlon29-May-09 1:53 
GeneralRe: Link to Google Pin
mark_w_29-May-09 2:12
mark_w_29-May-09 2:12 
GeneralRe: Link to Google Pin
Pete O'Hanlon29-May-09 2:28
mvePete O'Hanlon29-May-09 2:28 
QuestionHow to set scrolling property for canvas in WPF Pin
Nekkantidivya28-May-09 21:31
Nekkantidivya28-May-09 21:31 
AnswerRe: How to set scrolling property for canvas in WPF Pin
Pete O'Hanlon28-May-09 22:10
mvePete O'Hanlon28-May-09 22:10 
GeneralRe: How to set scrolling property for canvas in WPF Pin
#realJSOP29-May-09 6:04
professional#realJSOP29-May-09 6:04 
QuestionSilverlight 3 Release... Pin
Mark Salsbery28-May-09 11:34
Mark Salsbery28-May-09 11:34 
AnswerRe: Silverlight 3 Release... Pin
Pete O'Hanlon29-May-09 1:51
mvePete O'Hanlon29-May-09 1:51 
GeneralRe: Silverlight 3 Release... Pin
Mark Salsbery29-May-09 6:00
Mark Salsbery29-May-09 6:00 
GeneralRe: Silverlight 3 Release... Pin
Pete O'Hanlon29-May-09 8:41
mvePete O'Hanlon29-May-09 8:41 
QuestionNo EXE Generated [Resolved (but pissed off)] Pin
#realJSOP28-May-09 10:40
professional#realJSOP28-May-09 10:40 
QuestionRichTextBox UI elements animating?? Pin
_iobuf28-May-09 7:27
_iobuf28-May-09 7:27 
I have a RichTextBox in my app, which is inside a control that is composed of a grid with 2 columnds,
i.e.
<Grid x:Name="LayoutRoot"
        VerticalAlignment="Top" Height="Auto">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="150"/>
      <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Border x:Name="bdrLeft" Height="Auto"
            Background="{DynamicResource SplitRichTextBoxRightSideBGBrush}"
            BorderBrush="{DynamicResource SplitRichTextBoxRightSideBorderBrush}"
            BorderThickness="1,1,0,1"
            CornerRadius="3,0,0,3"
            VerticalAlignment="Stretch">
      <ContentPresenter x:Name="cpRightSide"
                        VerticalAlignment="Stretch"
                        HorizontalAlignment="Stretch"
                        Margin="0,0,0,0"
                        Width="Auto"
                        Height="Auto"
                        TextElement.Foreground="{DynamicResource SplitRichTextBoxLeftSideForegroundBrush}"/>
    </Border>
    <Border x:Name="bdrRight"
            Height="Auto"
            Grid.Column="1"
            Background="{DynamicResource TextBoxBGBrush}"
            BorderBrush="{DynamicResource TextBoxBorderBrush}"
            BorderThickness="1,1,1,1"
            CornerRadius="0,3,3,0"/>
    <RichTextBox x:Name="rtbMain" 
                 HorizontalAlignment="Center"
                 FontSize="{DynamicResource DefaultFontSize}"
                 Height="Auto"
                 BorderBrush="Transparent"
                 Background="Transparent"
                 Foreground="{DynamicResource DEFAULT_Font_Dark}"
                 VerticalAlignment="Center"
                 AcceptsReturn="False"
                 AcceptsTab="False"
                 Style="{DynamicResource ClearRichTextBoxStyle}"
                 Grid.Column="1"
                 Margin="0,3,0,3">
      <localControl:EnabledFlowDocument x:Name="efdMainDocument" PageWidth="{Binding ElementName=rtbMain, Path=ActualWidth}"/>
    </RichTextBox>
  </Grid>


All the animations in the code are set to 00:00:00.00

However, when I add a UIElement or even text to the FlowDocument on startup, the text/uielement appear in the center of the flowdocument, then animate over to the left side where they should be. Is this a bug in WPF? I can't find anything in my code that would cause this.
AnswerRe: RichTextBox UI elements animating?? Pin
_iobuf28-May-09 8:26
_iobuf28-May-09 8:26 

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.