Click here to Skip to main content
15,895,142 members
Home / Discussions / WPF
   

WPF

 
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
mve#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
mve#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 
QuestionNeed help populating a treeview with XML Pin
Etienne_12328-May-09 6:34
Etienne_12328-May-09 6:34 
AnswerRe: Need help populating a treeview with XML Pin
Mark Salsbery28-May-09 11:22
Mark Salsbery28-May-09 11:22 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12328-May-09 11:50
Etienne_12328-May-09 11:50 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12328-May-09 12:39
Etienne_12328-May-09 12:39 
GeneralRe: Need help populating a treeview with XML Pin
Mark Salsbery29-May-09 7:00
Mark Salsbery29-May-09 7:00 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12329-May-09 22:54
Etienne_12329-May-09 22:54 
GeneralRe: Need help populating a treeview with XML Pin
Etienne_12330-May-09 0:14
Etienne_12330-May-09 0:14 
QuestionHow to hook the ReadFile API like FileMon does. Pin
deadlyabbas28-May-09 1:05
deadlyabbas28-May-09 1:05 
AnswerRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 1:24
mvePete O'Hanlon28-May-09 1:24 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
deadlyabbas28-May-09 2:39
deadlyabbas28-May-09 2:39 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 2:55
mvePete O'Hanlon28-May-09 2:55 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Simon P Stevens28-May-09 3:11
Simon P Stevens28-May-09 3:11 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon28-May-09 3:38
mvePete O'Hanlon28-May-09 3:38 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
ABitSmart28-May-09 3:19
ABitSmart28-May-09 3:19 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
deadlyabbas30-May-09 5:49
deadlyabbas30-May-09 5:49 
GeneralRe: How to hook the ReadFile API like FileMon does. Pin
Pete O'Hanlon31-May-09 2:33
mvePete O'Hanlon31-May-09 2:33 

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.