Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

FlowDocument list marker alignment with BlockUIContainer

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 09-19-2006   #1 (permalink)
Brandon Bloom
Guest


 

FlowDocument list marker alignment with BlockUIContainer

I have a BlockUIContainer in a ListItem of a list, but this screws up the
list markers. How do I fix this?

To reproduce,
Create a flow document reader, and populate it with the following flow
document:

<FlowDocument>
<List MarkerStyle="Decimal">
<ListItem>
<Paragraph>One</Paragraph>
</ListItem>
<ListItem>
<BlockUIContainer>
<RichTextBox>
<FlowDocument>
<Paragraph>Two</Paragraph>
</FlowDocument>
</RichTextBox>
</BlockUIContainer>
</ListItem>
<ListItem>
<Paragraph>Three</Paragraph>
</ListItem>
</List>
</FlowDocument>

My System SpecsSystem Spec
Old 09-29-2006   #2 (permalink)
Brandon Bloom
Guest


 

RE: FlowDocument list marker alignment with BlockUIContainer

**Bump**

Can anyone help me with this?


"Brandon Bloom" wrote:

> I have a BlockUIContainer in a ListItem of a list, but this screws up the
> list markers. How do I fix this?
>
> To reproduce,
> Create a flow document reader, and populate it with the following flow
> document:
>
> <FlowDocument>
> <List MarkerStyle="Decimal">
> <ListItem>
> <Paragraph>One</Paragraph>
> </ListItem>
> <ListItem>
> <BlockUIContainer>
> <RichTextBox>
> <FlowDocument>
> <Paragraph>Two</Paragraph>
> </FlowDocument>
> </RichTextBox>
> </BlockUIContainer>
> </ListItem>
> <ListItem>
> <Paragraph>Three</Paragraph>
> </ListItem>
> </List>
> </FlowDocument>

My System SpecsSystem Spec
Old 10-05-2006   #3 (permalink)
Ifeanyi Echeruo [MSFT]
Guest


 

Re: FlowDocument list marker alignment with BlockUIContainer

What are you expecting from the list markers?

-- Ifeanyi Echeruo [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.

"Brandon Bloom" <BrandonBloom@discussions.microsoft.com> wrote in message
news:86D5E632-4B0C-426D-94CB-438EF00A1EF0@microsoft.com...
> **Bump**
>
> Can anyone help me with this?
>
>
> "Brandon Bloom" wrote:
>
>> I have a BlockUIContainer in a ListItem of a list, but this screws up the
>> list markers. How do I fix this?
>>
>> To reproduce,
>> Create a flow document reader, and populate it with the following flow
>> document:
>>
>> <FlowDocument>
>> <List MarkerStyle="Decimal">
>> <ListItem>
>> <Paragraph>One</Paragraph>
>> </ListItem>
>> <ListItem>
>> <BlockUIContainer>
>> <RichTextBox>
>> <FlowDocument>
>> <Paragraph>Two</Paragraph>
>> </FlowDocument>
>> </RichTextBox>
>> </BlockUIContainer>
>> </ListItem>
>> <ListItem>
>> <Paragraph>Three</Paragraph>
>> </ListItem>
>> </List>
>> </FlowDocument>



My System SpecsSystem Spec
Old 10-06-2006   #4 (permalink)
Brandon Bloom
Guest


 

Re: FlowDocument list marker alignment with BlockUIContainer

If you try the example I posted, you should see the problem immediately. To
see it even more clearly, try making the text box multilined.

The markers for normal paragraph content are top aligned, but the markers
for the UI containers are bottom aligned. I would like them consistently top
aligned.

Thanks!
Brandon


"Ifeanyi Echeruo [MSFT]" wrote:

> What are you expecting from the list markers?
>
> -- Ifeanyi Echeruo [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Brandon Bloom" <BrandonBloom@discussions.microsoft.com> wrote in message
> news:86D5E632-4B0C-426D-94CB-438EF00A1EF0@microsoft.com...
> > **Bump**
> >
> > Can anyone help me with this?
> >
> >
> > "Brandon Bloom" wrote:
> >
> >> I have a BlockUIContainer in a ListItem of a list, but this screws up the
> >> list markers. How do I fix this?
> >>
> >> To reproduce,
> >> Create a flow document reader, and populate it with the following flow
> >> document:
> >>
> >> <FlowDocument>
> >> <List MarkerStyle="Decimal">
> >> <ListItem>
> >> <Paragraph>One</Paragraph>
> >> </ListItem>
> >> <ListItem>
> >> <BlockUIContainer>
> >> <RichTextBox>
> >> <FlowDocument>
> >> <Paragraph>Two</Paragraph>
> >> </FlowDocument>
> >> </RichTextBox>
> >> </BlockUIContainer>
> >> </ListItem>
> >> <ListItem>
> >> <Paragraph>Three</Paragraph>
> >> </ListItem>
> >> </List>
> >> </FlowDocument>

>
>
>

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
red shield marker JIP Live Mail 3 02-01-2008 03:21 PM
Windows Movie Marker Publishing Roger Vista music pictures video 0 11-19-2007 10:41 AM
Dynamic content of a FlowDocument Frederik Delacourt Avalon 1 06-07-2006 08:41 AM
Data binding in a FlowDocument Mark at S&W Avalon 0 05-13-2006 09:55 PM
FlowDocument question Joachim Wester Avalon 1 01-31-2006 06:59 AM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51