Click here to Skip to main content
15,890,512 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
Abhinav S1-Jun-10 17:36
Abhinav S1-Jun-10 17:36 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII1-Jun-10 18:27
fjparisIII1-Jun-10 18:27 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
Abhinav S1-Jun-10 23:22
Abhinav S1-Jun-10 23:22 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII2-Jun-10 4:32
fjparisIII2-Jun-10 4:32 
GeneralRe: How do you vertically center an Expander within a ScrollViewer when it expands? [SOLVED] Pin
fjparisIII2-Jun-10 11:04
fjparisIII2-Jun-10 11:04 
QuestionMore complex databinding Pin
Lutosław1-Jun-10 2:40
Lutosław1-Jun-10 2:40 
AnswerRe: More complex databinding Pin
Abhinav S1-Jun-10 3:16
Abhinav S1-Jun-10 3:16 
QuestionRe: More complex databinding Pin
Lutosław1-Jun-10 5:00
Lutosław1-Jun-10 5:00 
I tried the following code (template for a ListBoxVerbs):
<DataTemplate x:Key="verbItem">
    <ListBoxItem>
        <StackPanel Orientation="Vertical">
            <TextBox FontWeight="Medium" MinWidth="150" Height="26" 
Margin="1" Text="{Binding Path=Singular3}" Style="{StaticResource EditableTextBox}"/>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="20"/>
                    <ColumnDefinition Width="auto"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Label Grid.Column="1">Odwrotność:</Label>
                <!--<TextBlock Grid.Column="1" Text="{Binding Singular3}"/>-->
                <ComboBox ItemsSource="{Binding Source=
{RelativeSource Mode=FindAncestor, AncestorType=ListBox}, Path=ItemsSource}"
 SelectedItem="{Binding Path=Singular3}" Grid.Column="2">
                    <ComboBox.ItemTemplate>
                        <DataTemplate>
                            <ComboBoxItem>
                                <TextBlock Text="{Binding Path=Singular3}"/>
                            </ComboBoxItem>
                        </DataTemplate>
                    </ComboBox.ItemTemplate>
                </ComboBox>
            </Grid>
        </StackPanel>
    </ListBoxItem>
</DataTemplate>

The emhazised ComboBox is supposed to display the same set of items as the parent ListBox. It does not, though.
Greetings - Jacek

AnswerRe: More complex databinding Pin
AspDotNetDev2-Jun-10 12:56
protectorAspDotNetDev2-Jun-10 12:56 
QuestionAs www.k12.com in this site i need About us menu pop as it is in using silverlight control Pin
Ch.Gayatri Subudhi30-May-10 20:12
Ch.Gayatri Subudhi30-May-10 20:12 
AnswerRe: As www.k12.com in this site i need About us menu pop as it is in using silverlight control Pin
Abhinav S30-May-10 20:23
Abhinav S30-May-10 20:23 
GeneralRe: As www.k12.com in this site i need About us menu pop as it is in using silverlight control Pin
Ch.Gayatri Subudhi30-May-10 20:34
Ch.Gayatri Subudhi30-May-10 20:34 
QuestionValidation in silverlight datagrid? Pin
mittalpa30-May-10 6:11
mittalpa30-May-10 6:11 
QuestionWPF and Threading Pin
cdpace30-May-10 2:44
cdpace30-May-10 2:44 
AnswerRe: WPF and Threading Pin
Abhishek Sur1-Jun-10 0:48
professionalAbhishek Sur1-Jun-10 0:48 
GeneralRe: WPF and Threading Pin
AspDotNetDev2-Jun-10 9:14
protectorAspDotNetDev2-Jun-10 9:14 
QuestionAdd a 'faked' item to a ListBox which serves as an "Add New Item" button Pin
Lutosław30-May-10 0:57
Lutosław30-May-10 0:57 
AnswerRe: Add a 'faked' item to a ListBox which serves as an "Add New Item" button Pin
Kevin Marois1-Jun-10 8:24
professionalKevin Marois1-Jun-10 8:24 
GeneralRe: Add a 'faked' item to a ListBox which serves as an "Add New Item" button Pin
Lutosław1-Jun-10 8:50
Lutosław1-Jun-10 8:50 
GeneralRe: Add a 'faked' item to a ListBox which serves as an "Add New Item" button Pin
Kevin Marois1-Jun-10 10:26
professionalKevin Marois1-Jun-10 10:26 
AnswerRe: Add a 'faked' item to a ListBox which serves as an "Add New Item" button Pin
Pete O'Hanlon1-Jun-10 21:20
mvePete O'Hanlon1-Jun-10 21:20 
QuestionStoryboard animation should be infinite Pin
Tripathi Swati29-May-10 1:13
Tripathi Swati29-May-10 1:13 
AnswerRe: Storyboard animation should be infinite Pin
Not Active29-May-10 3:22
mentorNot Active29-May-10 3:22 
GeneralRe: Storyboard animation should be infinite Pin
Tripathi Swati31-May-10 0:13
Tripathi Swati31-May-10 0:13 
QuestionData Binding - I Don't Get It Pin
#realJSOP27-May-10 12:22
mve#realJSOP27-May-10 12:22 

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.