Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

Scrollable WPF ListBox


<ListBox ItemsSource="{Binding ActorList}" Width="300"
         ScrollViewer.CanContentScroll="False">
    <ListBox.ItemTemplate>
        <DataTemplate>
            <StackPanel Orientation="Horizontal">
                <Image Source="{Binding Image}" Height="100"/>
                <StackPanel Margin="10,0">
                    <TextBlock Text="{Binding FullName}" FontWeight="Bold" />
                    <TextBlock Text="{Binding Dates}"/>
                    <TextBlock Text="{Binding KnownFor}" FontStyle="Italic"/>
                </StackPanel>
            </StackPanel>
        </DataTemplate>
    </ListBox.ItemTemplate>
</ListBox>
Comment

PREVIOUS NEXT
Code Example
Csharp :: quaternion rotation unity 
Csharp :: unity pause coroutine 
Csharp :: microsoft forms create bitmap 
Csharp :: c# get all letters 
Csharp :: c# increment by 1 
Csharp :: c# add list to list 
Csharp :: c# method returns multiple values 
Csharp :: how to fix on GetMouseButtonDown activating UI unity 
Csharp :: animation setbool unity 
Csharp :: registry keys and values 
Csharp :: c# list foreach lambda multiple actions 
Csharp :: freeze scene unity 
Csharp :: hide numericUpDown arrows 
Csharp :: group-by-in-linq 
Csharp :: c# generate random int list 
Csharp :: check if two date ranges overlap c# 
Csharp :: double parse csharp removes decimal 
Csharp :: photon2 addcalbacktarget 
Csharp :: get after point in c# 
Csharp :: monogame print debug 
Csharp :: how to generate random unique id in c# 
Csharp :: binding on button c# 
Csharp :: spiral matrix 
Csharp :: c# split multiple options 
Csharp :: structure in c sharp with example 
Csharp :: query associative table ef6 
Csharp :: c# multiple inheritance 
Csharp :: tilemap shader 
Csharp :: c# in equivalent 
Csharp :: Save variable unity 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =