or
| private void txtConnectToPhone_DragDrop(object sender, DragEventArgs e) |
| { |
| Match dropPhone = phoneRegex.Match(e.Data.GetData(typeof(string)).ToString()); |
| if (dropPhone.Success) |
| txtConnectToPhone.Value = dropPhone.Value.RemoveNonNumeric(); |
| } |
| private void LocalizeChart(RadChart chart) | |
| { | |
| bool isRtl = RightToLeft == RightToLeft.Yes; | |
| chart.Legend.Appearance.Position.AlignedPosition = isRtl ? AlignedPositions.Right : AlignedPositions.Left; | |
| chart.PlotArea.YAxis.Visible = isRtl ? ChartAxisVisibility.True : ChartAxisVisibility.False; | |
| chart.PlotArea.YAxis2.Visible = isRtl ? ChartAxisVisibility.False : ChartAxisVisibility.True; | |
| chart.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = CHART_X_AXIS_TEXT_ANGLE * (isRtl ? 1 : -1); | |
| } | |
if (radGridView1.EditingElement != null)
radGridView1.EditingElement.SaveValue();
In Q1 2008 no exists and my objects don't implement iNotifyProperty ( like..this).| _rgvRequests = new RadGridView(); |
| _rgvRequests.Dock = DockStyle.Fill; |
| _rgvRequests.ThemeName = "Telerik"; Other grid initialization code here... |