Questions tagged [control-library]

14 questions
5
votes
8 answers

Double buffer common controls

Is there a way to double-buffer the common controls? Currently when they resize they flicker. A lot..... EDIT: If it helps, it is a bunch of button controls and a few edit controls, all sitting on top of a tab control. The Tab control redraws…
Billy ONeal
  • 104,103
  • 58
  • 317
  • 552
3
votes
1 answer

Control Library Issue: Failed to create a 'System.Type' from the text 'local:SolidGloss'

I'm working on a library of custom controls and I'm stuck on this error. Can anyone tell me what I'm missing? SolidGloss.cs: using System; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using…
Eric
  • 2,061
  • 8
  • 28
  • 37
2
votes
3 answers

C# DefaultValue attribute not working

I'm using C# windows forms control library program to create my own control, the code as follow: public partial class MyControl : UserControl { public MyControl() { InitializeComponent(); } …
TwenteMaster
  • 148
  • 2
  • 12
2
votes
1 answer

How do you enforce licensing on a redistributable control library?

If you have a WPF control library which you wanted to license to developers, how do enforce license restrictions such that the library could be used and distributed in their own applications and yet prevent the end-users from reusing that .dll? I'm…
MojoFilter
  • 12,256
  • 14
  • 53
  • 61
2
votes
2 answers

Silverlight 2.0: Determine if a dependency property is set before changing it

I have a dependency property (Foreground) on a custom control which is inheriting from Control. When I am loading the control, I want to see if the user has set the dependency property or if it is using its default value before I set the value for…
1
vote
1 answer

Avalonia : how to create an avalonia control library

I have been looking all over the internet and I cannot find how to create a library with avalonia controls (to be used in other projects). what type of project do I need to start (in the templates I do not see anything like an avalonia (control)…
Geertie
  • 237
  • 4
  • 15
1
vote
1 answer

Virtual Assistant Bot Framework and Control library

I'm developing a Virtual Assistant in order to being published in Microsoft Teams, what I find out is that using the adaptive cards there are some limitation in Teams because of the version (for example the buttons need to be always at the end of…
1
vote
1 answer

Not finding Windows Forms Control Library

I'm trying to create a Windows Forms Control Library using Visual Basic .Net 2010. When I create a New Project, I do not see this type of template as available. I have found an older post here showing the user how to browse on the left hand side of…
Sebastien
  • 55
  • 1
  • 5
  • 8
0
votes
0 answers

C# Show Class Library from another Project

Here are the steps I have used to create the winforms Project OneB Using Visual Studio 2019 with Net 4.8 I created OneB Then I created a Windows Forms Class Library named CLP. Opened OneB and Added Existing Project CLP and then Added Reference to…
Vector
  • 3,066
  • 5
  • 27
  • 54
0
votes
1 answer

.NET 6.0 Windows Control Library No Longer Appears in Toolbox of Winforms Project since 17.3

As of the latest release a solution containing a windows form project no longer shows a windows forms control library in the same solution in the ToolBox. Here is a sample of the problem. It's a solution with two projects, one is a windows Form…
0
votes
0 answers

C# WPF Control Library No accessible constructors

I have been working on creating a control resource library for a reusable dialog message box and have run into some issues. Below I have just the bar bones code behind and ViewModel namespace MyLibrary { public partial class WindowsMessage :…
David Bentley
  • 824
  • 1
  • 8
  • 27
0
votes
0 answers

Two projects with same dll, Cast issue

Hi fellow programmers, I'm creating a ControlLibrary for future project's that uses the amazing MaterialDesignXaml library. In this ControlLib I use the MaterialDesignThemes.dll that contains several styled controls, resources and classes. Now my…
Nick van K
  • 15
  • 5
0
votes
1 answer

Add usercontrol directly in Windows Form Application

Is it proper to add usercontrol directly in Windows Form Application instead of creating Windows Form Control Library and reference it to Windows Form Application?
Karlx Swanovski
  • 2,869
  • 9
  • 34
  • 67
0
votes
1 answer

How can i add checked items from one checklistbox to another checklistbox?

I need to add checked items from one checklistbox to another. I should not add an item more than once into the second checklistbox. The design has two checklistboxes and the following buttons: >,>>,<,<< I have tried the code below but not able to…
Milee
  • 1,191
  • 1
  • 11
  • 29