Hello! My name is.. Anyway, it doesn't matter. Here are a few more things below, but again, it doesn't matter. So nothing matters...
ReaLTaiizor is a .NET WinForms control library that offers a wide range of components and is user-friendly and design-focused.
Home Page: https://www.vegalya.com
License: MIT License
I create dynamic menu items for a MaterialContextMenuStrip with the following code:
contextMenu = new MaterialContextMenuStrip();
contextMenu.Opening += contextMenu_Opening;
int index = 0;
foreach (string option in ContextMenuOptions)
{
ToolStripMenuItem tsi = (ToolStripMenuItem)contextMenu.Items.Add(option);
img = new Bitmap(ContextMenuBitmaps[index++]);
tsi.Image = img;
tsi.ShortcutKeys = Keys.Control | Keys.C; // Testing
}
The shortcut key is added but is displayed at the beginning of the menu item thus overlaying the menu text. Please see the below image.
3.7.9
for (int i = 0; i < materialCheckListBox1.Items.Count; i++)
{
materialCheckListBox1.Items.RemoveAt(i);
}
materialCheckListBox1.Items.Clear();
No effect
To Reproduce
Steps to reproduce the behavior:
Adding a tab control and a collection of tabs, when in the live editor trying to navigate between tabs to design their content it's not working. Working as expected in .NET 4.6/4.8.
Expected behavior
To be able to navigate between tabs in the live editor
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Windows 10 (latest build)
Visual Studio 16.8.x/16.9.x
Hey i love your work, but i hope that you will make your notifications sizeable.
Especially the ForeverNotification, my Text is always 5-10 chars to long, German is a rought language u know :)
Also there is missing the Text.Length Property, which I find very important, because a constantly pre-marked text looks very ugly.
I prefer to pretend all TextBoxes are not selected and the cursor always docks at the end of the TextBox.
Unfortunately this doesn't work with yours yet.
btw. dont know if this is important but iam .Net Developer
This happens when I open a form and sometimes the combo box items are all highlighted instead of the one that is being selected / hovered on. I've noticed this can also occur when I load my child form via keyboard shortcut.
3.7.9.1
When running with administrator privileges, the window cannot be displayed after being minimized
I am using some checkboxes from the ReaLTaiizor.Controls.Checkbox control on a C# Winforms project and changing the Checked property value from code (during Form Load event) does not trigger the CheckChanged event (which works fine while ticking the checkbox in the UI). I validated that this doesnt even work while changing the value from a manually clicked button either and that a regular Winform Checkbox does indeed make it work
Steps to reproduce the behavior:
1 - Add a ReaLTaiizor.Controls.Checkbox set to Checked = false in a form
2 - Add a message box or whatever code to the checkbox's CheckedChanged event
3 - Set it to Checked = true in the Form's Load event
4 - Execute
Expected
The code from the CheckChanged event is executed
Actual
The checkbox checked state is changed but the code does not execute
I'd like to set a ParrotButton, etc. as the form's 'AcceptButton'. But, since it does not support the IButtonControl interface, it does not appear in the 'AcceptButton' drop-down on the Form's properties. Setting 'AcceptButton' through the code will not work because it cannot be cast to 'IButtonControl'.
3.7.8.8
Is your feature request related to a problem? Please describe.
I think it will be better if adding a dotted rectangle when the control is in active state.
Describe the solution you'd like
_focusState
field._focusState
in GotFocus
and LostFocus
event handler.ControlPaint.DrawFocusRectangle
method to draw a rectangle.We can use Style
(dark or light) property to determine the forecolor and backcolor of focusing rectangle.Describe alternatives you've considered
Additional context
Describe the bug
A child control (eg. combobox or label) on a Metro tab page cannot be hidden using ".Visbile = false" or ".Hide()".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The control should be hidden when requested.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
afssafafsafs
Describe the bug
HopeNumeric allows for a number to be typed in. At least, it's possible to click the number and use a keyboard to type a number.
HOWEVER - this number doesn't remain, it gets replaced by the last known number unless I specifically press Enter on my keyboard (Which then makes the window "not allowed" ding as if to imply you can't do that
To Reproduce
Expected behavior
it should simply accept and remain on the number manually typed it. There's no point in having the field allow keyboard input if it won't keep the number typed in
Desktop (please complete the following information):
EDIT
** Other Info **
I realise from looking at the source of the HopeNumeric that it is coded that pressing enter (keycode 13) does 'accept' the number etc but ideally this should happen automatically like the default NumericUpDown control does (and some other custom numeric controls out there)
The Crown Theme that shows on this gif
https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Crown.gif
is very match to my app.
Can u send me the source code of this sample or a link to download it?
Thank u so much!
Your TabControl with the Name 'TabControl' looks very pretty, but i cant use them.
it still crashes after pressing Start.
I am facing this problem when a MaterialComboBox (filled with data dynamically) is clicked, it is showing this error:
System.NullReferenceException: 'Object reference not set to an instance of an object.'
3.07.8.0
Describe the bug
It's using a newer version of winforms, and I have no clue how to upgrade to it.
To Reproduce
No idea. Other people seem to use it fine, I just made a new Windows Forms app with .NET 6.0.
Expected behavior
Not this compile error, for sure.
Desktop (please complete the following information):
Windows 10
10
Additional context
Add any other context about the problem here.
Severity Code Description Project File Line Suppression State Error CS1705 Assembly 'ReaLTaiizor' with identity 'ReaLTaiizor, Version=3.7.8.7, Culture=neutral, PublicKeyToken=null' uses 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'System.Windows.Forms' with identity 'System.Windows.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' TestRealTaiizor C:\Users\me\source\repos\TestRealTaiizor\CSC 1 Active
Hi
Thanks for the controls and I am trying to use in a personal capacity.
I am using a numeric control. I can set the Min and Max values but the Increment value is not present. When I try + or -, the increment is like 5,6,7 etc. Not a steady increment. Is there a way I can achieve increments of 1 or other numbers?
3.7.8.8
Very good project ! Thank you !
I like the design of "material demo" gif shows , i found when i launch project "ReaLTaiizor.UI", i can see the form. but the form icon show it is a file , not a window form, when i right click the mouse on the form file (such as form17 ) there is no selection "open in the form designer" , thank you ~
Describe the bug
I wrote method A in dll1 that calls method B in dll2. Method B calls PoissonMessageBox.Show() directly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the message box to display.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
method B code follows:
public static void ReportError(LogType _action, string _title, string _message, Form _parent,
MessageBoxButtons _buttons, MessageBoxIcon _icon, object[] _arguments=null)
{
int index = 0;
if (_arguments != null)
{
foreach (string arg in _arguments)
{
_arguments[index++] = arg.Replace("\r\n", string.Empty);
}
}
_message = WriteLog(_action, _message, _arguments);
PoisonMessageBox.Show(_parent, _message, _title, _buttons, _icon);
}
If I substitute a standard MessageBox.Show("error") call, the code does not throw and error.
I've added some controls into Parrot Form and close the design window after saved all changes.
When I open the design window again I see whole controls inside Parrot Form has been disappeared.
Checked the controls on property window and they all are there! I did try those controls to bring to front but it didn't work.
Thank you for a great control library!
I have a question: how to define a color for (ColorStyle)15 in poisonStyleManager?
Idk if i am missing something...but i am unable to change the color of crown controls...they are only of dark theme/ dark color.
Edit : I just found Theme interface in source...just need to use it....i will try and update again.
Edit : Idk man, unable to figure out how to use theme, unable to find methods or property to set it...need help.
Also, when I delete controls (tried with tab controls for now), visual studio stop working...the window itself is working/responding, but the cursor gets stuck at the loading type and nothing is clickable.
Is your feature request related to a problem? Please describe.
It would be possible to add to the BigTextBox a field for a placeholder or hint. I'm trying to do it by controlling the Enter and the Leave but managing the language change is complicated, something like the native Windows Forms TextBox. Thank you.
Describe the solution you'd like
textUsername = new ReaLTaiizor.Controls.BigTextBox();
textUsername.PlaceHolder = "User"
Describe alternatives you've considered
textUsername = new ReaLTaiizor.Controls.BigTextBox();
textUsername.Hint = "User"
How to change the font in Material Theme ?
For example changing the font size, font family, etc in the properties but nothing happened
and the MaterialTextBox is pretty cool but can't keypress CJK language for use
Hello, thank you very much for this library, although I still have one problem, I cannot change the font size of the buttons, even changing it in the properties nothing happens, I found that your button has only 3 types, but how can I change font size?
Prior to version 3.7.8.7, I was able to edit tab pages on a MetroTabControl. After 3.7.8.7, I am no longer able to edit all pages of the tab control. For example, I have a MetroTabControl that contains two pages. I can click on the title of the first page but not the second. Clicking on the second page puts me into the code.
This bug can be reproduced with the following steps:
I am using Visual Studio 2022 version 17.2.6
3.7.8.7
I added nodes to the treeview controls but none of the nodes show up when run. The background is Black and I tried changing the background and foreground colors to different ones but in none of the schemes, the nodes show up.
[url=https://ibb.co/VBTW2Bp][img]https://i.ibb.co/Lp1znph/tvw.png[/img][/url]
Any suggestions?
3.7.9.0
The MetrolControlBox control ignores the 'MaximizeBox' and 'MinimizeBox' switches in the form designer. Setting the values to 'false' does not make the Maizmize and Minize boxes hide as it does in a standard Windows Form control. I also tried setting the values in the code and this did not work. Additionally, there doesn't appear to be a way to tell what button has been clicked.
3.7.8.8
Describe the bug
I see no way to change the color of a button.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should have an option to change the color.
Screenshots
no
Desktop (please complete the following information):
https://i.imgur.com/N44C5Ah.png
How am i supposed to add some pictures to use them like icons?
It can enable support for NET Framework 4.7.2?
Currently all header and content values are drawn left-aligned, even when setting textalign-right on the columns.
I think it would be great to have the headers and content drawn with the same alignment, as specified by the headers.
It's is an detail, but an important one when the data contains numbers - and would add great value to the listview.
Look like the the the code is in methods OnDrawColumnHeader + OnDrawItem in MaterialListView.cs
I have just started looking into the Material component palette and it looks very promising. Great work! I would like to contribute with some programming, so next time I will make an pull request.
Latest Greatest
Btw can you fix:
materialTabSelector1.SelectorHideTabName = Array.Empty<string>();
"This line of code doesn't work."
DrawerHideTabName = Array.Empty<string>();
"This line of code doesn't work."
Or you want me to make a PR in ~ 1-2 day(s) for them?
感谢作者的辛苦更新。(Thanks to the author for the long update)
我的英文不好,我会采用双语的方式。(My English is poor, so I can speak two languages.)
PoisonMessageBoxControl.xml
<?xml version="1.0" encoding="utf-8" ?> <root> <Localization> <Key>Ok</Key> <Value>&确定</Value> </Localization> <Localization> <Key>Cancel</Key> <Value>&取消</Value> </Localization> <Localization> <Key>Retry</Key> <Value>&重试</Value> </Localization> <Localization> <Key>Yes</Key> <Value>&是</Value> </Localization> <Localization> <Key>No</Key> <Value>&否</Value> </Localization> <Localization> <Key>Abort</Key> <Value>&终止</Value> </Localization> <Localization> <Key>Ignore</Key> <Value>&忽略</Value> </Localization> </root>
PoisonToggle.xml
<?xml version="1.0" encoding="utf-8" ?> <root> <Localization> <Key>StatusOn</Key> <Value>开</Value> </Localization> <Localization> <Key>StatusOff</Key> <Value>关</Value> </Localization> </root>
控件“MaterialTextBox”的右键菜单为英文,我并没有找到本地化的方式。(The right click menu of the control "MaterialTextBox" is in English, I did not find a way to localize it.)
switch (toolStripItemClickedEventArgs.ClickedItem.Text) { case "Cut": Cut(); break; case "Copy": Copy(); break; case "Paste": Paste(); break; case "Delete": SelectedText = string.Empty; break; case "Select All": SelectAll(); break; }
I am experiencing an issue with window resizing with the Metro style. When the app is running and I move the window to another monitor, and release it, the window can no longer be moved and anywhere you mouse over the window the mouse is a resize pointer of some kind (depends where on the window the mouse is). I tried with the monitors being the same and different resolutions, same result. I tried the same test using Royal style and Material style, neither of those had an issue.
Not sure if this matters but using VS 2022 and VB.NET.
3.7.9.1
I'm using the ThunderControlBox but need to disable the min/max buttons so that only the X close button can be used.
The option to enable/disable control box items is present on other controlbox controls you have in the collection, it would be really great if ALL controlbox controls had the same ability to enable/disable the individual buttons
Is it possible to add the solution projects, which, are shown in the "overview" section? Specially the Material and Metro.
Thanks in advance.
Any chance to change the ForegroundColor property from private to public so the tabs and the line under them can be customized?
Currently, it is:
ReaLTaiizor/src/ReaLTaiizor/Controls/TabControl/MetroTabControl.cs
Lines 295 to 296 in c603f6e
which only allows to use the default color Color.FromArgb(65, 177, 225)
defined in the ApplyTheme method, and the option is not available in the properties.
I tried myself in a clone of the project and it worked properly, but I'm not sure if it will interfere with something else.
Is it possible to make the material button receive a font family? Or is there a limitation or something like that?
I saw that it is fixed in the code, there is no way to make it dynamic?
I've set an event handler on the CrownComboBox's DrawItem event. It never fires.
To Reproduce
Add an event handler for the DrawItem event for a CrownComboBox, and try to get it to emit the event.
Expected behavior
The even to fire when the combo box draws its items
How to make buttons support shortcut keys?
I have been using ReaLTaiizor for the last two weeks. But there is a lot of uncertainty in the use of some features and elements. It would be very easy to understand if it was documentation.
At least the following
So far I have had the following problems
These are becoming incomprehensible, and it would be great if any example demo program with all the elements used was documented or put in place.
At the very least, the demo programs listed in **Overview ** would be easier to understand even if the sources were uploaded.
Thanks...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.