RM.Friendly.WPFStandardControls 1.12.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package RM.Friendly.WPFStandardControls --version 1.12.2
NuGet\Install-Package RM.Friendly.WPFStandardControls -Version 1.12.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RM.Friendly.WPFStandardControls" Version="1.12.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RM.Friendly.WPFStandardControls --version 1.12.2
#r "nuget: RM.Friendly.WPFStandardControls, 1.12.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RM.Friendly.WPFStandardControls as a Cake Addin
#addin nuget:?package=RM.Friendly.WPFStandardControls&version=1.12.2

// Install RM.Friendly.WPFStandardControls as a Cake Tool
#tool nuget:?package=RM.Friendly.WPFStandardControls&version=1.12.2

Friendly.WPFStandardControls

This library is a layer on top of Friendly, so you must learn that first. But it is very easy to learn.

https://github.com/Codeer-Software/Friendly.Windows

Getting Started

Install Friendly.WPFStandardControls from NuGet

Install-Package RM.Friendly.WPFStandardControls

https://www.nuget.org/packages/RM.Friendly.WPFStandardControls/


Friendly.WPFStandardControls defines the following classes.
They can operate WPF control easily from a separate process.

  • WPFButtonBase
  • WPFComboBox
  • WPFListBox
  • WPFListView
  • WPFMenuBase
  • WPFMenuItem
  • WPFProgressBar
  • WPFRichTextBox
  • WPFSelector
  • WPFSlider
  • WPFTabControl
  • WPFTextBox
  • WPFTextBlock
  • WPFToggleButton
  • WPFTreeView
  • WPFTreeViewItem
  • WPFCalendar
  • WPFDatePicker
  • WPFDataGrid

//sample  
var process = Process.GetProcessesByName("WPFTarget")[0];  
using (var app = new WindowsAppFriend(process))  
{  
    dynamic main = app.Type(typeof(Application)).Current.MainWindow;  
    var grid = new WPFDataGrid(main._grid);  
    grid.EmulateChangeCellText(0, 0, "abc");  
    grid.EmulateChangeCellComboSelect(0, 1, 2);  
    grid.EmulateCellCheck(0, 2, true);  
}  
//sample : identify the elements.
var process = Process.GetProcessesByName("WPFTarget")[0];  
using (var app = new WindowsAppFriend(process))  
{  
    AppVar main = _app.Type<Application>().Current.MainWindow;
    var logicalTree = main.LogicalTree();

    var textBox = new WPFTextBox(logicalTree.ByBinding("Memo").ByType<TextBox>().Single());
    var textBlock = new WPFTextBlock(logicalTree.ByBinding("Memo").ByType<TextBlock>().Single());
    var button = new WPFButtonBase(logicalTree.ByBinding("CommandOK").Single());
    var listBox = new WPFListBox(logicalTree.ByBinding("Persons").Single());
}  

More samples.

https://github.com/Roommetro/Friendly.WPFStandardControls/tree/master/Project/Test


For other GUI types, use the following libraries:


If you use PinInterface, you map control simple.
https://www.nuget.org/packages/VSHTC.Friendly.PinInterface/

Product Compatible and additional computed target framework versions.
.NET Framework net30 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on RM.Friendly.WPFStandardControls:

Package Downloads
Voiceroid2Sharp

VOICEROID2にテキストを送り再生ボタンを押すライブラリ

Voiceroid2Sharp.Standard

Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on RM.Friendly.WPFStandardControls:

Repository Stars
YoshihiroIto/Biaui
WPF dark theme and controls for .NET Core and .NET Framework
ksasao/TTSController
各種 Text-to-Speech エンジンを統一的に操作するライブラリです
Version Downloads Last updated
1.59.1 1,280 7/7/2023
1.59.0 4,089 12/27/2021
1.58.0 290 12/26/2021
1.56.0 425 12/21/2021
1.55.1 1,369 11/4/2021
1.55.0 377 10/26/2021
1.51.1 2,083 7/15/2021
1.51.0 476 7/9/2021
1.50.0 435 7/7/2021
1.48.0 433 7/7/2021
1.47.7 460 6/23/2021
1.47.6 401 6/22/2021
1.47.5 425 6/15/2021
1.47.4 462 6/7/2021
1.47.3 399 6/3/2021
1.47.2 396 6/1/2021
1.47.0 438 5/28/2021
1.46.1 1,429 11/16/2020
1.46.0 733 9/28/2020
1.45.0 507 9/23/2020
1.42.0 537 9/7/2020
1.41.3 493 8/28/2020
1.41.2 480 8/24/2020
1.41.1 480 8/24/2020
1.41.0 518 8/23/2020
1.40.0 595 7/30/2020
1.39.0 527 7/29/2020
1.38.0 543 7/19/2020
1.37.0 1,700 6/10/2020
1.36.7 1,656 3/5/2020
1.36.6 622 2/25/2020
1.36.5 753 1/15/2020
1.36.4 792 1/5/2020
1.36.0 639 12/13/2019
1.34.0 636 11/6/2019
1.33.9 590 10/29/2019
1.33.8 1,535 8/20/2019
1.33.6 629 8/15/2019
1.33.5 638 7/31/2019
1.33.4 679 7/31/2019
1.33.3 678 7/24/2019
1.33.2 607 7/24/2019
1.33.0 622 7/24/2019
1.32.5 724 6/23/2019
1.31.6 681 6/17/2019
1.31.5 622 6/17/2019
1.31.3 676 6/9/2019
1.31.1 808 5/13/2019
1.30.0 635 5/10/2019
1.29.2 671 4/16/2019
1.29.0 676 4/15/2019
1.28.2 625 4/12/2019
1.27.0 652 4/11/2019
1.26.3 728 3/30/2019
1.26.1 866 3/12/2019
1.26.0 684 3/11/2019
1.25.0 639 3/8/2019
1.24.5 911 2/15/2019
1.24.4 711 2/13/2019
1.24.2 797 1/28/2019
1.24.1 732 1/25/2019
1.24.0 763 1/20/2019
1.23.9 768 1/19/2019
1.23.6 795 1/17/2019
1.23.5 843 1/17/2019
1.23.4 823 1/4/2019
1.23.2 741 1/4/2019
1.23.1 3,611 11/19/2018
1.23.0 772 11/15/2018
1.22.1 808 11/10/2018
1.22.0 761 11/9/2018
1.21.0 729 11/9/2018
1.20.2 881 11/7/2018
1.20.1 843 11/7/2018
1.19.0 779 11/6/2018
1.18.5 788 11/5/2018
1.18.2 847 10/30/2018
1.18.0 833 10/21/2018
1.17.0 794 10/18/2018
1.16.0 831 10/10/2018
1.15.17 954 10/1/2018
1.15.10 974 9/17/2018
1.15.8 836 9/9/2018
1.15.6 887 9/5/2018
1.15.5 850 8/28/2018
1.15.3 849 8/24/2018
1.15.2 847 8/23/2018
1.15.1 846 8/22/2018
1.15.0 865 8/21/2018
1.14.3 876 8/21/2018
1.14.2 945 8/5/2018
1.14.1 930 8/5/2018
1.14.0 1,318 7/25/2018
1.13.1 894 7/24/2018
1.12.4 1,016 7/16/2018
1.12.3 977 7/16/2018
1.12.2 1,066 7/8/2018
1.12.1 902 7/3/2018
1.12.0 986 7/1/2018
1.11.1 1,483 5/2/2018
1.11.0 1,261 3/26/2018
1.10.0 1,514 12/2/2017
1.9.0 1,096 11/25/2017
1.8.0 2,287 9/14/2016
1.7.0 1,719 12/15/2015
1.6.0 1,951 8/3/2015
1.5.0 1,536 8/2/2015
1.4.0 1,492 7/20/2015
1.3.0 1,364 5/5/2015
1.1.5 1,358 4/30/2015
1.1.4 1,673 2/10/2015
1.1.2 1,660 7/7/2014
1.1.1 1,336 7/2/2014
1.1.0 1,340 6/20/2014
1.0.0 1,134 5/9/2014
0.0.7 1,118 5/8/2014
0.0.6 1,154 5/7/2014
0.0.5 1,182 5/6/2014
0.0.4 1,163 5/3/2014
0.0.3 1,279 4/21/2014
0.0.2 1,475 4/4/2014
0.0.1 1,407 3/22/2014
0.0.0 1,408 3/22/2014