Home Forums WPF controls Xceed DataGrid for WPF How do I change a card width in CompactCardView?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #27142 |

    How do I change a card width in CompactCardView?

     

    I’ve tried to change it through the style, but it didn’t work. Although the height has changed:

     <Style x:Key=”propertiesViewRowStyle” TargetType=”{x:Type xcdg:DataRow}”>
           <Setter Property=”Height” Value=”100″/>
           <Setter Property=”Width” Value=”500″/>
     </Style>
     

    Imported from legacy forums. Posted by Alexander (had 501 views)

    Xceed Support
    Member
    Post count: 5658

    Card Width is determined by the CardView.CardWidth property.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 376 views)

    User (Old forums)
    Member
    Post count: 23064

    “Card Width is determined by the CardView.CardWidth property.”

     

     That property doesn’t seem to have any effect if one is using a ‘VirtualizingStackPanel’ or a ‘VirtualizingCardPanel’.

     

    Imported from legacy forums. Posted by Matt (had 946 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.