Version

XamTagCloudClipped Event (XamTagCloud)

Occurs when a XamTagCloud cannot display all of its items.
Syntax
'Declaration
 
Public Event XamTagCloudClipped As EventHandler(Of XamTagCloudClippedEventArgs)
public event EventHandler<XamTagCloudClippedEventArgs> XamTagCloudClipped
Event Data

The event handler receives an argument of type XamTagCloudClippedEventArgs containing data related to this event. The following XamTagCloudClippedEventArgs properties provide information specific to this event.

PropertyDescription
CloudClipped The value of this argument will be true if any of the tag cloud items are clipped or not completely displayed.
Example
This sample demonstrates how to handle the XamTagCloudClipped event which is fired if the xamTagCloud control is too small to display all the cloud items.

For an overview of how to handle events in Visual Basic or Visual C#, see Event Handlers in Visual Basic and Visual C#. For specific information and code examples illustrating how to consume events in your application, see Consuming Events in the .NET Framework Developer's Guide.

AddHandler Me.xamTagCloud.xamTagCloudClipped, AddressOf xamTagCloud_xamTagCloudClipped

Private Sub xamTagCloud_xamTagCloudClipped(ByVal sender As System.Object, ByVal e As xamTagCloudClippedEventArgs)
   System.Diagnostics.Debug.WriteLine("xamTagCloudClipped Event Fired")
End Sub
this.xamTagCloud.xamTagCloudClipped += new EventHandler<xamTagCloudClippedEventArgs>(XamTagCloud_xamTagCloudClipped);

void XamTagCloud_xamTagCloudClipped(object sender, xamTagCloudClippedEventArgs e)
{
   System.Diagnostics.Debug.WriteLine("xamTagCloudClipped Event Fired");
}
<ig:XamTagCloud Name="myTagCloud" 
    
xamTagCloudClipped="xamTagCloud_xamTagCloudClipped"> 
</ig:XamTagCloud>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also