Indenting listview item with icon in c# [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create list view with indented icon and I came across that:
There is a solution, but it's non-dotnet and I was wondering how I could achieve this with C#?
Thanks!

See this MSDN page. Use the IndentCount property of the ListViewItems.
However see the remark there:
The IndentCount property can be used only when the View property of
the containing ListView is set to Details, and the SmallImageList
property of the ListView is set.
The example there works easily.

Related

How To create dynamic vertical progress bar in WPF with radio button [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed yesterday.
Improve this question
I need to create a summary with progress steps that can indicate how many steps are completed and how many step's are pending and completed step's should be highlighted but the rest of the not highlighted look like the image below.
so if anyone can suggest which control I should use for this I am new in WPF.
any sample link to get better idea on this.

How can I make message bubble? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Like this:
http://www.premiumpixels.com/freebies/apple-iphone-chat-bubbles-psd/
I have a tcp/ip chat application, I used listbox, but its not the best solution...
As you are programming with the default set of Visual Studio (C#, .NET, winforms) I expect that you also use the defaulted listbox, meaning that that one uses defaulted .
This component can be overridden (even to use customized resources like images, fonts, etc.) It is even documented on MSDN:
ListBox.DrawItem Event
If I were you, I'd look into that example provided there!

Getting Stream from System.Windows.Input.Cursor [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How do I get the Stream of the cursor defined inside System.Windows.Input.Cursor?
Thanks.
Short answer, you cannot. After reviewing the MSDN, the stream is part of the constructor and not accessible afterward most likely making it a private property.
In all my years, I cannot say that I have ever used the "Cursor" constructor like that either, but I guess if you had to pass a customized mouse cursor that is how you would do it.
https://msdn.microsoft.com/en-us/library/system.windows.input.cursor(v=vs.110).aspx
What are you trying to accomplish? What have you already tried(purely out of my own curiosity)?

How to change a window layout on a button press? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
what I am asking is when writing WPF applications in C# how can I get it so on a press of the menu bar the window changes to a different layout with different feature.
I think you should use a TabControl, see https://msdn.microsoft.com/en-us/library/system.windows.controls.tabcontrol(v=vs.110).aspx

How to add property to a ListBox? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
VB6 had a fileListBox with .path property and I am trying to add that property to regular listbox.
ListBox myfilelistbox = new ListBox();
and the one generated with XAML.
I think what you want is Attached Properties
ListBox is a generic control which displays list of items in a linear manner. What you wish to do is to display a hierarchy of items, not a list of them.
There are no such built in controls and you will have to build one for yourself or find some that others have implemented.
Check more information on this other Stack Overflow thread Is there a WPF control which will show a list of files in an Explorer-like view?.
The following article on CodeProject could help you: A WPF File ListView and ComboBox

Categories