[]
        
(Showing Draft Content)

C1.Win.TouchToolKit.C1Magnify.BorderBackground

BorderBackground Property

BorderBackground

Gets or sets a value indicating the background image used for the border of the magnifier.

Declaration
public Image BorderBackground { get; set; }
Property Value
Type Description
Image

A Image value that represents the background image used for the magnifier. The default is null.

Remarks

This property only take effect when BorderBackgroundMode property value is BorderBackground.Custom.

Examples

The following code example shows how to use this property.

This code example is part of a larger example provided for the C1Magnify class.

public class GcMagnifierDemo : Form
{
	private GcMagnifier _gcMagnifierObj = new GcMagnifier();

	public GcMagnifierDemo()
	{
		// Magnifier background mode. If property value is BorderBackground.Custom,
		// user can to use BorderBackground property to set the background image.
		_gcMagnifierObj.BorderBackgroundMode = BorderBackground.Dark;
	}
}
Public Class GcMagnifierDemo
	Inherits Form
	Private _gcMagnifierObj As New GcMagnifier()

	Public Sub New()
		' Magnifier background mode. If property value is BorderBackground.Custom,
		' user can to use BorderBackground property to set the background image.
		_gcMagnifierObj.BorderBackgroundMode = BorderBackground.Dark
	End Sub
End Class