New to Telerik UI for WinForms? Start a free 30-day trial

Adds image providers for image layout boxes visible in the current viewport.

Definition

Constructors

C#
public ImagesUILayer()

Properties

Gets the identifier used to register the images layer.

C#
public override string Name { get; }

Overrides: ProviderUILayerBase.Name

Methods

Enumerates providers for image layout boxes intersecting the current viewport.

C#
protected override IEnumerable<IUIProvider> EnumerateVisibleProviders()
Returns:

IEnumerable<IUIProvider>

The providers for visible images.

Overrides: ProviderUILayerBase.EnumerateVisibleProviders()

Gets the registered provider for an image layout box, creating it when necessary.

C#
protected IUIProvider GetAssociatedUIProvider(ImageLayoutBox imageBox)
Parameters:imageBoxImageLayoutBox

The image layout box to represent.

Returns:

IUIProvider

The provider associated with the image.

Removes the visual and releases the provider associated with its image layout box.

C#
protected override void RemoveUIProvider(IUIProvider provider)
Parameters:providerIUIProvider

The image provider to remove.

Overrides: ProviderUILayerBase.RemoveUIProvider(IUIProvider)