I use a LineSeries show points in a ChartView with data binding.
I want to change specific point style by specific condition from bound data.
How to do that?
Example: if data value bigger than 10 and change the point size to bigger.
As title.
I need to change specific point style on LineSeries.
Hi,
I've been struggling to work out how to export the current pdf page as shown in the pdfViewer after it has been rotated using controls in the pdfViewerNavigator. I'm trying to save the image in png format but it seems to export the page in the original orientation ignoring the applied rotation.
Also whilst searching the forum for a solution, I came across the code
this.radPdfViewer1.PdfViewerElement.CurrentPage.PageNo
but it appears that PageNo no longer exists in 2020.3.1020.
Currently i'm using
pdfViewer.ExportPage ( 0, _tempImageFileName, 1.0, true, ImageFormat.Png );
which exports the first page as a png, which works, I just need to save the currently selected page that may or may not have been rotated.
Is this possible, if so how ?
How to add placeholder in empty node? So that when added to a node, the placeholder disappears, and if the number of objects becomes zero again, it appears again.
I am following the following documentation for the RadTreeView on populating a Treeview through an XML Datasource.
However, The documentation doesn't really get in depth about how the XML schema and naming conventions correlates to the RadTreeview control itself or how the corresponding XML elements are being linked up.
The ID and parentID elements are obvious enough and those do appear to be referenced in the initialization of the RadTreeview control through the following code.
this.radTreeView1.ChildMember = "id";
this.radTreeView1.ParentMember = "parentId";
However, the XML "Title" element maps to the RadTreeView.DataMember property, which is not as obvious.
A RadTreeNode seems to have 4 different properties available to populate (Name, Tag, Text, Value). Again based on documentation I am not sure what the difference is in each of these values.
When populating the RadTreeView through XML Datasource, and then iterating through each of the nodes, it seems as though (Name, Text, and Value) are all populated with the XML value from the "Title" element, and that the RadTreeNode (Tag) value is left blank.
Can someone elaborate on the difference between (Name, Tag, Text, and Value) and what specific purpose each is intended to serve?
Can someone also elaborate on how the XML elements are being mapped?
Additionally can the XML schema be modified to populate these values? I am particularly interested in populating the (Tag) property, but would like to understand what else is possible with XML.
Right now I can iterate through the RadTreeView nodes after its loaded and manually set the Tag value, but this kind of defeats the purpose of using something like XML in the first place.
Any help much appreciated!
I am not able to set the weekday format in Scheduler for month view. I am using the control in a very small area, and I need to set the weekday names to be abbreviated (Mon, Tue, Wed, etc.).
I have set the HeaderFormat property on both the GetMonthView() and the scheduler control, and it does not seem to change. I still see the weekday names fully spelled out, and Wednesday will not fit into the allocated area.
About the PropertyGrid in one of the SPINNER type inputs, we need this behavior, please help us:
1. We need to not be allowed to enter a number with the keyboard. Only allow increase / decrease using the Spinner arrows. It's possible ?.
2. By increasing or decreasing with the arrows, certain code is executed immediately. Since we tried it through the PropertyValueChanged () event, but it is executed when the Spinner loses focus.
private void rpgHcPropiedades_PropertyValueChanged(object sender, PropertyGridItemValueChangedEventArgs e)
{
if (e.Item.Name == "NumOperarios")
{
PropertyGridItem item = e.Item as PropertyGridItem;
byte operario = (byte)item.Value;
byte operarioAnt = (byte)item.OriginalValue;
TO-DO!!!
}
}
3. Make a validation before the new value in the Spinner is accepted. If the validation does not pass, the Spinner does not increase.
4. Assign it a rank.
Please...
Can you provide us with some example code to achieve this?
Thank you very much!
POCO:
[Category("Operaciones de cálculo")]
[DisplayName("Operarios")]
public byte NumOperarios { get => numOperarios; set => numOperarios = value; }