or
private void radGridView1_PrintCellFormatting(object sender, PrintCellFormattingEventArgs e)
{
if (e.Row is GridViewDataRowInfo)
{
string s = (string)e.Row.Cells[0].Value;
if (s == "Total" || s=="")
{
e.PrintCell.DrawFill = true;
e.PrintCell.Font = new System.Drawing.Font(radGridView1.Font, FontStyle.Bold);
e.PrintCell.DrawBorder = false;
}
}
}
'For repeated occurrences..
Dim
appType
As
Type =
GetType
(Telerik.WinControls.UI.Appointment)
appType.GetField(
"masterEvent"
, System.Reflection.BindingFlags.Instance
Or
System.Reflection.BindingFlags.NonPublic).SetValue(appointment,
Me
)
appType.GetField(
"masterEvent"
, System.Reflection.BindingFlags.Instance
Or
System.Reflection.BindingFlags.NonPublic)
chart.Controllers.Add(new ChartTrackballController());
chart.ShowTrackBall = false;
private void chart_MouseClick(object sender, MouseEventArgs e)
{
if (e.Button == System.Windows.Forms.MouseButtons.Right)
{
chart.ShowTrackBall = !chart.ShowTrackBall;
}
}