791 questions with XAML-related tags

Sort by: Updated
0 answers

Web Cam Light is not closing

In my WPF c# application,there is a form using web camera for taking picture( forge.video).After closing the form it will not close the light. Below mentioned code is for stopping the webcam.Please help public void Window_Closing(object sender,…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-24T08:30:23.647+00:00
Hrishi Kuttathi 1 Reputation point
commented 2021-01-25T08:02:27.067+00:00
DaisyTian-1203 11,621 Reputation points
1 answer

Can XAML “deduce” inheritance from C#?

I wonder if XAML is somehow able to "deduce" the C# inheritance. Let me explain: I have these two C# classes: public class AStyleSelector: StyleSelector { public Style aStyle { get; set; } public override Style SelectStyle(object item,…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-15T20:57:59.483+00:00
answered 2021-01-18T06:58:37.927+00:00
DaisyTian-1203 11,621 Reputation points
1 answer

C# + AddDirectorySecurity(pathofprog, addeduser, FileSystemRights.FullControl, AccessControlType.Deny) - Still able to execute exe's within

Hi I have managed to get the code running and it is working fine, I see that the user is added into the acl and the permission is set to deny, however, I noticed that at times, for certain programs, I am still able to execute the exe's within the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-17T01:10:04.713+00:00
Kalpana 286 Reputation points
answered 2021-01-17T12:22:59.84+00:00
RLWA32 43,381 Reputation points
3 answers One of the answers was accepted by the question author.

WPF C #, How to emit sounds when passing the mouse over a button and also when clicking on the button.

Hello and happy new year. I am a newbie to C # WPF programming. How can I make a button emit a sound when passing the mouse over the button and also when clicking on the button emit another sound. I will be very grateful for your help and I thank you in…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-15T15:39:02.407+00:00
jack pelon 96 Reputation points
accepted 2021-01-16T19:40:11.547+00:00
jack pelon 96 Reputation points
0 answers

Invoking values from MFC dialog based application into WPF app.

Hi All, I am newbie in wpf, need to fetch values from MFC Dialog based application as abc.dll, and populate in Datagrid of WPF application(Myapp.exe), but I could not render the values through C++/CLI layer, could you let me know references/examples…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,638 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-13T14:28:46.767+00:00
VishalK_87 1 Reputation point
commented 2021-01-15T00:57:56.637+00:00
VishalK_87 1 Reputation point
2 answers One of the answers was accepted by the question author.

How to use Dispatcher for thread with WPF Window and a BlockingCollection<GraphicalData>(ConcurrentQueue<GraphicalData>)

Hi. Techs used are: C#, .Net Core 3.1, WPF, BlockingCollection<> and ConcurrentQueue<> I am trying to understand how to use the Dispatcher with a WPF Window. The Window will be updated with a ConcurrentQueue<GraphicalData>…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-09T16:46:45.027+00:00
Magnus Vinterhav 61 Reputation points
accepted 2021-01-14T09:10:04.963+00:00
Magnus Vinterhav 61 Reputation points
1 answer One of the answers was accepted by the question author.

Adding image from source property of image control(WPF) at Access Database

Hi to all First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). This is tested solution

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-13T13:57:23.793+00:00
رضا جافری 1,296 Reputation points
accepted 2021-01-13T13:58:37.843+00:00
رضا جافری 1,296 Reputation points
1 answer One of the answers was accepted by the question author.

Why is there a performance difference when my application becomes activated?

I am working on a WPF application that displays a grid of many images with scrolling/expanding animations that display a video when the user hovers the image. When this application is run on an Intel CPU + NVidia GPU machine, the animations and video…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-05T21:32:21.48+00:00
cobbsjobs 96 Reputation points
accepted 2021-01-13T03:30:54.25+00:00
cobbsjobs 96 Reputation points
2 answers One of the answers was accepted by the question author.

WPF - Change cell colour when operation is successfull

Hello! I have this datagrid: The last column has buttons ("+") that when pressed open the following window: In this window when the "Registar" button is pressed the app executes an operationa and returns to the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-12T11:02:45.52+00:00
Tiago Silva 21 Reputation points
accepted 2021-01-12T16:46:03.767+00:00
Tiago Silva 21 Reputation points
2 answers

How to start WPF in separate thread and still updating it continuously

Hi. C#, .Net 3.1, WPF I want to have a WPF window that takes data from a BlockingCollection<ColorAddress>(ConcurrentQueue<ColorAddress>) continuously. I have managed to start the window in it's own thread, but while doing this with the…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-08T02:28:34.823+00:00
Magnus Vinterhav 61 Reputation points
answered 2021-01-11T11:24:23.8+00:00
Peter Fleischer (former MVP) 19,316 Reputation points
1 answer

Are there namespaces and XAML components unique to Silverlight?

I have inherited a legacy application and need to know if it is using Silverlight. Apart from uninstalling Silverlight, is there any way to look at the code and determine if it is a Silverlight application? If it is a Silverlight application, I need…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-08T19:50:57.68+00:00
Doug Kimzey 1 Reputation point
commented 2021-01-11T06:34:36.697+00:00
DaisyTian-1203 11,621 Reputation points
3 answers

WPF: rotate a Model3D about the Viewport3D center

I have a WPF app where different Model3Ds are arranged in a Model3DGroup and displayed in a Viewport3D. I may pan, zoom in / out the displayed models. Everything is handled programmatically in the .Net app. The only Xaml code is to define a UserControl…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-05T14:29:58.757+00:00
Claude Gosselin 1 Reputation point
commented 2021-01-11T05:19:18.257+00:00
DaisyTian-1203 11,621 Reputation points
1 answer

How can I access resources from external assembly?

I don't seem to be able to access remote resources from an external assembly. The following line in MainWindow.xaml isn't working, no background color is getting displayed: <StackPanel Grid.Row="0" Background="{DynamicResource…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2021-01-10T15:57:42.65+00:00
AxD 666 Reputation points
answered 2021-01-11T04:48:00.853+00:00
DaisyTian-1203 11,621 Reputation points
1 answer One of the answers was accepted by the question author.

Question about performance in Wpf

Hi, I have a general question about the right way to bind a class to a listview or list box or any other control in wpf. Lets say that I have a textbox which the width is binded with the property of my class "my width" <Textbox…

XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-31T21:09:15.843+00:00
Zacharias Karasavvas 21 Reputation points
commented 2021-01-02T15:06:28.437+00:00
Zacharias Karasavvas 21 Reputation points
0 answers

WPF Listview

Hi, I have a WPF ListView, the objects of which are bound to a view model and I use a CollectionViewSource to group them based on their properties - the CollectionViewSource dynamically creates expanders and groups the items in the ListView - this…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-29T12:54:13.513+00:00
Kevin Bell 21 Reputation points
commented 2020-12-30T10:32:12.65+00:00
Kevin Bell 21 Reputation points
2 answers One of the answers was accepted by the question author.

WPF ListView change arrow icon

Hi, I've created an app in Visual Studio in C# using a WPF page - all works fine. The app displays a list view which has several sub lists (looks very similar to an Expander), I don't like the large arrow in circle icon and would like to change it to…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-25T21:24:00.58+00:00
Kevin Bell 21 Reputation points
accepted 2020-12-29T12:29:30.81+00:00
Kevin Bell 21 Reputation points
1 answer

How to store and retrieve image using MVVM pattern in WPF C#

Please I am looking for a solid means to save and retrieve image to/fro SQL server database. I am using MVVM pattern in WPF. I have gone through everything I saw on Google concerning this issue, all I'm seeing is Image control being tied directly to code…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,368 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-21T00:11:48.31+00:00
DPlug 41 Reputation points
commented 2020-12-24T03:10:12.177+00:00
DaisyTian-1203 11,621 Reputation points
1 answer One of the answers was accepted by the question author.

INotifyDataErrorInfo implementation for several values, check that there are no errors in Dictionary (WPF MVVM)

I have been trying to implement INotifyDataErrorInfo and everything seems to be working except SaveSettings() and especially bool HasErrors. Can somebody please tell me why and how to fix it? I mean that SaveSettings is always triggered, even if there…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,656 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-22T22:08:25.157+00:00
mrw 201 Reputation points
accepted 2020-12-23T12:45:37.257+00:00
mrw 201 Reputation points
3 answers One of the answers was accepted by the question author.

How can I bind text and have it format itself on the UI?

Hi. How can I bind text and have it format itself on the UI? For example, suppose the string in the ViewModel is this: myDependencyProperty = @"<b>Title: </b>My title\n<b>Description: </b>This is my…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,716 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-18T19:54:13.457+00:00
Stout 286 Reputation points
answered 2020-12-21T16:49:21.5+00:00
Stout 286 Reputation points
0 answers

Azure work well with the new ghostly app?

Does the new ghostly app work well with Azure? And if so what's the best platform to integration with?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,961 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
791 questions
asked 2020-12-18T14:41:32.763+00:00
BERT ANTHONY ROCHESTER 1 Reputation point
commented 2020-12-21T04:48:13.223+00:00
Pramod Valavala 20,611 Reputation points Microsoft Employee