> For the complete documentation index, see [llms.txt](https://docs.wisej.com/extensions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wisej.com/extensions/extensions/bingwallpaper.md).

# BingWallpaper

The BingWallpaper extender component enhances the Desktop control by adding Bing’s daily stunning [wallpaper images](https://www.bing.com). You can set the rotation interval, fade duration and number of images.

![](/files/-MjKjjEAZyH2GQWrCh0j)

{% embed url="<https://github.com/iceteagroup/wisej-extensions/tree/master/Wisej.Web.Ext.BingWallpaper>" %}
Bing Wallpaper Source Code
{% endembed %}

## Code Example

```csharp
BingWallpaper bingWallpaper1 = new BingWallpaper();
bingWallpaper1.Control = panel1;
bingWallpaper1.RotationInterval = 5000;
bingWallpaper1.FadeTime = 1000;
bingWallpaper1.MaxImages = 5;
```

This creates a new BingWallpaper and sets up the properties. Note that the `Control` property is set to `panel1,` where `panel1` is a Wisej.NET Panel. BingWallpaper needs a Control to be set in order to show up on the page- you cannot simply drop it it in the designer and see it. `RotationInterval` is set to 5000, so the image will rotate every 5 seconds. `FadeTime` is set to 1000, so the images will fade in/out in 1 second. `MaxImages` is set to 5 so there will be only 5 images shown and then the images will repeat.

## How to Use

The **BingWallpaper** extension can be added to a Wisej.NET project using NuGet Package Manager.

{% embed url="<https://www.nuget.org/packages/Wisej-3-BingWallpaper>" %}

Animations can be switched on/off with *EnableAnimation* and controlled with *FadeTime.*<br>

{% hint style="info" %}
Find more information in our BingWallpaper example in [C#](https://github.com/iceteagroup/wisej-examples/tree/2.2/BingWallpaper) or in [VB.NET](https://github.com/iceteagroup/wisej-examples-vb/tree/main/BingWallpaper).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wisej.com/extensions/extensions/bingwallpaper.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
