Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - FlowDocument list marker alignment with BlockUIContainer

 
 
Old 09-20-2006   #1 (permalink)
Brandon Bloom


 
 

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


 
 

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]


 
 

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


 
 

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
 

Thread Tools


Similar Threads
Thread Forum
Flashing marker when playing Gaming
Saved Pictures with apparent error marker Vista General
Color Your Vista Folders With Folder Marker Vista General
red shield marker Live Mail
Windows Movie Marker Publishing Vista music pictures video


Vista Forums 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 Ltd

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