hi dears.
i change each ListView item by this code:
RadButtonElement buttonElement = new RadButtonElement();
public RadCheckBoxElement checkBoxElement = new RadCheckBoxElement();
StackLayoutElement stack = new StackLayoutElement();
protected override void CreateChildElements()
{
base.CreateChildElements();
NotifyParentOnMouseInput = true;
ShouldHandleMouseInput = false;
stack.Orientation = Orientation.Vertical;
this.MinSize = new Size(Item_MINSIZE-10,Item_MINSIZE);
buttonElement.Click += ExecuteHost;
stack.Children.Add(buttonElement);
checkBoxElement.Name = "radCheckBox" + _itemIndex.ToString();
stack.Children.Add(checkBoxElement);
this.Children.Add(stack);
Padding=new Padding(5,5,5,5);
}
so i want to change above checkbox state programmatically and by right mouse click. or call buttonElement click.
but how can i access custom item elements objects ???
thanks.
I have a question about auto-sized screentips.
I would like to measure the screentip before it is displayed and move its position above a control instead of beneath it. In order to move the screentip above a control, I need to know its height.
My question is how can I get a screentip's height before it is displayed? I assume I need to invoke a method. However, everything method I have tried has not worked.(ie DesiredSize)
Thanks in advance.
I need to set only certain columns to be searched by default.
By default, all columns are marked in the "Search in Columns" context menu. How do I set it to be only certain columns?
Hi,
Is there a way to make the summary row freeze at the bottom of gridView so it doesn't move in any situation, I added the summary row to the my gridView with below code which works only when the amount of rows are higher than gridView height, but as soon as there are one or two rows in the grid, the summary row sticks to the bottom of the last row but not to bottom of the gridView.
GridViewSummaryRowItem summary =
new
GridViewSummaryRowItem();
summary.Add(
new
GridViewSummaryItem(
"total"
,
"{0:#,###}"
, GridAggregateFunction.Sum));
productGrid.SummaryRowsTop.Add(summary) ;
this
.productGrid.MasterTemplate.ShowTotals =
true
;
this
.productGrid.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Bottom;
Hi Admins.
I'm using the following code to show the Serial Number on the RowHeaderColumn.
private
void
GridViewSaleItems_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
if
(e.CellElement
is
GridRowHeaderCellElement && e.Row
is
GridViewDataRowInfo)
{
e.CellElement.Text = (e.CellElement.RowIndex + 1).ToString();
e.CellElement.TextImageRelation = TextImageRelation.ImageBeforeText;
}
}
How can I Get this Serial Number (Like other Cell Values) When saving the Grid Rows
Hi Admins.
I am developing an application which have the functionality to change the theme at rune time.
When i use the Telerik Themes. Message on the RadMessaageBox not shown properly (see attached image)
the code for displaying the MesageBox is
string msg = "<html>Are you sure?<br><br><b>You want to close the Application</b></html>";
DialogResult result = RadMessageBox.Show(
msg, "Sales Digitization", MessageBoxButtons.OKCancel, RadMessageIcon.Question, MessageBoxDefaultButton.Button1);
Is this theme problem that is not compatible with html tags.
I'm planning to convert my application to .Net Core, but was looking for clarification. With Net Framework we had to manually build the assemblies as OEM or merge the telerik assemblies with the exe.
Using .Net core according to documentation we just need to set the publish option to self-contained and that should be it? I'll be making the application available on my website so want to ensure I do that correctly.
https://docs.telerik.com/devtools/winforms/core/deploy-application
Hello,
I am currently changing the design for a ListView item (IconView) and have created a custom class which inherits an IconListViewVisualItem.
One of the elements in the custom class is a LightVisualButtonElement.
I would like to change the cursor for this element into the Cursors.Hand.
Is there a way to accomplish this? Or do I need to use another element type?
Best regards
Patrick Vossen
dgv_Pareto.Columns[
"Pg"
].DisplayIndex = 0;
dgv_Pareto.Columns[
"Part"
].DisplayIndex = 1;