'Declaration Public Property Thickness As Integer
'Usage Dim instance As CustomFocusIndicatorRenderer Dim value As Integer instance.Thickness = value value = instance.Thickness
public int Thickness {get; set;}
'Declaration Public Property Thickness As Integer
'Usage Dim instance As CustomFocusIndicatorRenderer Dim value As Integer instance.Thickness = value value = instance.Thickness
public int Thickness {get; set;}
Bitmap bm = new Bitmap(2, 2); bm.SetPixel(0, 0, Color.Black); bm.SetPixel(0, 1, Color.Red); bm.SetPixel(1, 0, Color.Red); bm.SetPixel(1, 1, Color.Black); FarPoint.Win.Spread.CustomFocusIndicatorRenderer cfi = new FarPoint.Win.Spread.CustomFocusIndicatorRenderer(bm, 2); fpSpread1.FocusRenderer = cfi; int i; i = cfi.Thickness; MessageBox.Show(i.ToString());
Dim bm As New Bitmap(2, 2) bm.SetPixel(0, 0, Color.Black) bm.SetPixel(0, 1, Color.Red) bm.SetPixel(1, 0, Color.Red) bm.SetPixel(1, 1, Color.Black) Dim cfi As New FarPoint.Win.Spread.CustomFocusIndicatorRenderer(bm, 2) fpSpread1.FocusRenderer = cfi Dim i As Integer i = cfi.Thickness MsgBox(i.ToString())
Bitmap bm = new Bitmap(2, 2); bm.SetPixel(0, 0, Color.Black); bm.SetPixel(0, 1, Color.Red); bm.SetPixel(1, 0, Color.Red); bm.SetPixel(1, 1, Color.Black); FarPoint.Win.Spread.CustomFocusIndicatorRenderer cfi = new FarPoint.Win.Spread.CustomFocusIndicatorRenderer(); cfi.Bitmap = bm; cfi.Thickness = 2; fpSpread1.FocusRenderer = cfi;
Dim bm As New Bitmap(2, 2) bm.SetPixel(0, 0, Color.Black) bm.SetPixel(0, 1, Color.Red) bm.SetPixel(1, 0, Color.Red) bm.SetPixel(1, 1, Color.Black) Dim cfi As New FarPoint.Win.Spread.CustomFocusIndicatorRenderer() cfi.Bitmap = bm cfi.Thickness = 2 fpSpread1.FocusRenderer = cfi