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
840 views
1 answer
    How can or what is best method to serialize System.Windows.Media.Brush ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
785 views
1 answer
    I have multiple buttons instead of doing this.button1.Click += new System.EventHandler(this.button_Click); this.button2. ... like that in WPF ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
935 views
1 answer
    How can I set a regular expression on WPF TextBox? I want the textbox to accept input in some predefined format. Is it possible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
938 views
1 answer
    I have a DataGrid bound to a DataTable. I want the DataGrid to always have at least ten (empty) rows, also if ... /built-in way to achieve this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
954 views
1 answer
    I'm trying to set up a C# application which uses TWAIN example from code project This works fine except ... TWAIN librarieswrappers? Thank you. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
817 views
1 answer
    I'm trying to find the equivalent of ClipToBounds in Windows Runtime. If it doesn't exists is there a way to recreate this behavior ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
628 views
1 answer
    I faced the problem exactly as described in Setting event handlers inside a Setter.Value structure. But I want ... like I missed some concept. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
807 views
1 answer
    Is there a way to get the size of a UIElement that resides in memory and has not yet been rendered? I ... change the FontSize of the grid. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
875 views
1 answer
    I am using ShowDialog() with WindowStyle = WindowStyle.SingleBorderWindow; to open a modal window in my WPF (MVVM ... window. Thanks in advance See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have the following XAML. How can i highlight the selected item in the ItemsControl ? I can override the selected ... > </ScrollViewer> </Grid> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to successfully TwoWay bind an ObservableCollection to TextBoxes in a DataTemplate. I can get the data ... this the correct way? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
878 views
1 answer
    I am following the M-V-VM pattern for my WPF UI. I would like to hook up a command to the ... TextChanged event to my ViewModel class? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
821 views
1 answer
    This is a common situation in XAML based apps (WPF/Silverlight/WinRT). WPF related link -> WPF Databinding ... suitable mostly in DataTemplate). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
844 views
1 answer
    In the XAML below, I have an ItemsControl that has three DataObjects. I use a DataTemplate to display DataObjects ... </ItemsControl> </Grid> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
753 views
1 answer
    I'm setting up a program that has three different windows. I'm just using .. Window1 win1 = new Window1(); ... inside of another box. Thank you See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    Some time ago i wrote a small widget-like application which was supposed to keep track of tasks, each task ... was a very interesting question) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
977 views
1 answer
    I am making a WPF application that is to be used on a kiosk with no hardware keyboard. Currently we are ... version using c#. Thanks! David See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
934 views
1 answer
    I am new to C# Task and threading. I have a code like below:- public void UpdateSales(object sender, ... handler from third party library. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
843 views
1 answer
    <DataTemplate x:Key="_ItemTemplateA"> <Grid Tag="{Binding Path=DataContext.Command, RelativeSource={RelativeSource FindAncestor ... as not set. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
760 views
1 answer
    BitmapImage im = new BitmapImage(); string path1 = @"C:abc.png"; im.UriSource=new Uri(path1); ... add Image in the column?? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
660 views
1 answer
    I like the MVVM idea of a RelayCommand that's exposed by the ViewModel. That's nice and elegant, for operations ... that I'm totally missing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
643 views
1 answer
    I want to do something that I thought would be very simple. I want to bind a generated Entity Framework ... have designed around. Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
708 views
1 answer
    I have a Path that normally has a StrokeThickness of 1. Under certain circumstances, it needs to have a ... Is there an easier way? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
873 views
1 answer
    In WPF I've got the following XAML: <ScrollViewer Canvas.Left="2266" Canvas.Top="428" Height="378" Name=" ... Is there any workaround for this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have an List values with a ResourceKey and a Caption, these values are both strings. The Resource is the ... set the source property. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
824 views
1 answer
    I need to set the font family for the next text to be written in a RichTextBox. I tried setting that with... ... the next -not yet typed- text? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
809 views
1 answer
    In the MVVM (Model-View-ViewModel) pattern should the ViewModel reference the view. I would think that it should ... of sense to somebody :) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
954 views
1 answer
    I set up a ContentControl.DataTemplateSelector to my desired one. I want that according to a command or whatever, ... either xaml or code. Thank 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

2.1m questions

2.1m answers

60 comments

56.8k users

...