Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged WPF

0 votes
1.3k views
1 answer
    I have the below code-behind: public partial class MainWindow : Window { public MainWindow() { ... itself as the DataContext. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am struggling with finding an adequate solution to impletmenting Sorting and Paging for a WPF DataGrid that ... Sorting? Thanks, Aaron See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a DataGrid full of notes, and it's possible that a note will be taller then the ... disabling the default DataGrid virtualization? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    First! I know it can seem a kind of dup nevertheless it isn't. I have a grid as a data template for DataGrid ... our app still targets .net 4.0 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I use Caliburn micro for my WPF Project. Static menus are easy to bind with Caliburn <Menu Grid.Row="0" ... to the click from the model See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I've got a custom horizontal ListView with custom ScrollViewer inside it's template (created with Blend). I want it to ... . How can I do that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    In a TextBox provide a description that vanishes after the first input. This should provide a little help to ... text field such as Watermark. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm trying to bind a static property of some class to some control. I've tryied a few implementation but each ... point I gave up. Any Ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    How would I take a Paragraph object and databind them to the TextBlock for use in a DataTemplate? A plain bind ... what I really need to do. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Since I am pretty new to WPF FlowDocuments I would like to ask if the code below is correct. It is supposed to return ... > 0 ? result : null; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Here I added a model to my viewmodel: public dal.UserAccount User { get { return _user; } set { _user = ... is not triggered on updating view? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    For a simplified version of my problem, I would like to calculate the bounding box of a layout-transformed (possibly ... , please let me know. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    It appears that the maximum number of adorners that work without any breakage is 144. I have a ScrollView with a ... work-arounds for this bug? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm using Visual Studio, C#, XAML, WPF. In my program I have XAML buttons with white png icons. I want to have it so ... ="1,0,0,0"/> </Button> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have a BaseView for my MVP - PRISM WPF application. Now for some reason we thought to make the _presenter as ... shall i write the Xaml then? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I was wondering if anyone had an easy way to get the text in a WPF data grid to be center aligned. I ... ="DG1" CanUserReorderColumns="False" /> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have buttons on a toolbar in WPF. When I do the XAML: <ToolBar.Resources> <Style TargetType="{x:Type Button ... on the toolbar does not work? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    In need to create native looking customized .Net OpenFileDialog in Windows XP and Windows Vista/7. Add new ... advance. Regards, Pavel. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    After selecting ListBox item programmatically it is needed to press downup key two times to move the selection. Any ... //not helps either } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I've got a WPF Control that exposes one of it's children (from it's ControlTemplate) through a read-only ... on the main control. Cheers. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I've put together a basic animation which has a Control scaling from 0.1 to 1.0 (x & y). The problem I keep ... to it (got worse as it would). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a DataSet bound to the Window.DataContext; I also have a DataGrid: <DataGrid ItemsSource={Binding Tables[ ... me in the right direction? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm new to WPF and I'm having difficulty trying to sort a CollectionViewSource with a custom sort. ... this comparer on a CollectionViewSource? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    If my domain objects implement IDataErrorInfo, and I am using M-V-VM, how do I propagate errors through the ViewModel ... in the my view model. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
988 views
1 answer
    In WPF you can use an IValueConverter or IMultiValueConverter to convert a data-bound value from say an int ... every time something changes. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a WPF ListBox that I would like to Enable multiple selection in the ListBox, and Databind the ListBox ... ? Thanks for your help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    This is driving me crazy. I have a DataGrid which has a DataGridComboBoxColumn which I want the user to be ... convert this to a StaticResource. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a Button ControlTemplate and I'm trying to modify a DropShadowEffect on a Border by using a Trigger. Here is ... ) How can I solve this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...