What control did Github for Windows use, to show History? - c#

I already search it on google about listview and datagrid but there's no one tell how to customize these control

According to Snoop it's a custom control named GitHub.UI.ListBoxEx. Since the project is not open source, no source is available with it.

Related

UWP blank GridView with header and line between each column

I just want a blank GridView with header in UWP using XAML. It must contain line between each column till certain height.The Grid will look like this.
I appreciate any advices. Thank you.
Check out the new DataGrid control that is currently being worked on by Microsoft itself. It is available via NuGet as a prerelease package, but should be available as a normal control later on. You can find more information here
Documentation is not plenty given that it is quite new, but it does work in very similar ways to the WPF DataGrid control. You can find more information about how the WPF control works here.

Rich Text Box in Xamarin.Forms

I am currently porting my application from WPF to Cross-platform. In the WPF, I used a read-only richtextbox to show the result to user in order to show both IMAGE & TEXT. In Xamarin.Forms, Is there anything similar? Thanks.
There is no control in Xamarin Forms, hence you would have to use CustomRenderers and create your own.
However I only found one decent RichTextBox implementation in
UWP RichTextBox
This means that the only way to get any decent RichTextEditor, is to use a WebView, and load a WebBased rich text editor.
But since you want it as read-only, the simplest thing to do, is to scrap the idea of any RichTextBox, and just display the text and image as separate components in your mobile app.
You can use Spans, in a label to implement formatting within the label if needed.
I found the Telerik RichTextEditor for Xamarin a much better Rich Text Editor package for Xamarin Forms after trying out and evaluating a handful of other alternatives.
This is licensed software and you have to pay for using it.
Here's the link, https://docs.telerik.com/devtools/xamarin/controls/richtexteditor/richtexteditor-overview
ScrollView can be used like readonly richtextbox. I added the elements programmatically(label for text and image). It's also read-only so it met my requirements
Syncfusion's brand-new rich text editor control for Xamarin.Forms is available now. Check out the following article for more detail.
https://www.syncfusion.com/blogs/post/introducing-xamarin-forms-rich-text-editor.aspx

Windows Universal App grouped ListView issue

I need some help in creating a grouped ListView for an Universal Windows App.
I found an example to do that but it was for windows 8 phone, and it was using CollectionViewSource class and bind the ListView ItemsSource to it. But this is not available anymore, at least for Universal Windows App template.
Please Help.
Thanks in advance.
There is no default XAML control for UWP that represents Expandable Listview.
However you can create your own or use custom one. Below you can find two possible solutions:
First one - I have created "Expandable ListView" like on the picture below.
You can find whole source code on my GitHub:
https://github.com/Daniel-Krzyczkowski/Windows10/tree/master/ExpandableListView
Second solution is to use "WinRTXAMLToolkit" which contains TreeView control:
https://github.com/xyzzer/WinRTXamlToolkit
Here you can find the post how to customize the control:
WinRT XAML Toolkit TreeView expanded display
Hope that I helped.

Creating custom ListView from scratch in Blend

I already looked through the internet but could not find a tutorial that showed the creation of a ListView in Expression Blend. I do not want to modify existing ListViews that are part of Blend, as I have done that already.
I need a tutorial that shows the first steps of creating a custom ListView and, in my case, specifically states all the parts the ListView consists of.
A button for example, can be created in Blend by drawing a Rectangle, adding a ContentPresenter and converting that into a Button user control. I would like to do the same thing for a ListView.
I went through that post already but since it is about WinForms I could not draw any helpful conclusions.
I am thankful for links to similar posts, tutorials and even code snippets.
After a long night of further research I came across this answer. I installed the Windows SDK and there are files that contain the ControlTemplates for WPF Controls. Using them as a blueprint gives me the possibility of creating my own desired version of the ListView.

Suggestions for a C# custom tabcontrol?

Has anybody got any suggestions for a custom tabcontrol implemented in C# and which adheres to these criteria:
Allows the tabs to be placed along the side of the control.
Tab text must read horizontally.
Allow custom colouring.
Open source or no cost.
I prefer not to get my hands dirty with ownerdrawing if a solution already exists.
You probably don't have a need for this anymore but anyone else who stumbles upon it might find it useful.
I found this tabcontrol on CodeProject it is also very easy to Draw your own tabs with it, they even give you a example on the site.
Y(et)A(nother)TabControl
A couple more tab controls.
TabStrip Control
TabStrips: A TabControl in the Visual Studio 2005 way!
The tab control in WPF fulfills all of your requirements. You can override the template and go to town on it.

Categories