We are happy to announce the availability of VIBlend Controls for Silverlight ver. 6.5. The new version includes multiple bug fixes and small improvements to the existing features and themes of the package.

We are happy to announce the availability of VIBlend Silverlight Controls 6.0. The newest version of VIBlend Silverlight Controls includes a set of new Metro UI Themes - Metro Blue, Metro Green and Metro Orange themes.

This example demonstrates how to bind the VIBlend DataGrid for Silverlight to a list of invoices that has nested properties. The schema of data source contains the following DataFields / Properties: SalesPerson(string), ShipperCompany(string), ProductName(string), UnitPrice(double),
Quantity(double), Discount(double), ExtendedPrice(double), Freight(double) and Address(Address). The address object has the following properties: City(string), Region(string) and Country(string).

Private privateSalesPerson As String
Public Property SalesPerson() As String
Get
Return privateSalesPerson
End Get
Set(ByVal value As String)
privateSalesPerson = value
End Set
End Property
Private privateShipperCompany As String
Public Property ShipperCompany() As String
Get
Return privateShipperCompany
End Get
Set(ByVal value As String)
privateShipperCompany = value
End Set
End Property
Private privateAddress As Address
Public Property Address() As Address
Get
Return privateAddress
End Get
Set(ByVal value As Address)
privateAddress = value
End Set
End Property
Private privateProductName As String
Public Property ProductName() As String
Get
Return privateProductName
End Get
Set(ByVal value As String)
privateProductName = value
End Set
End Property
Private privateUnitPrice As Double
Public Property UnitPrice() As Double
Get
Return privateUnitPrice
End Get
Set(ByVal value As Double)
privateUnitPrice = value
End Set
End Property
Private privateQuantity As Double
Public Property Quantity() As Double
Get
Return privateQuantity
End Get
Set(ByVal value As Double)
privateQuantity = value
End Set
End Property
Private privateDiscount As Double
Public Property Discount() As Double
Get
Return privateDiscount
End Get
Set(ByVal value As Double)
privateDiscount = value
End Set
End Property
Private privateExtendedPrice As Double
Public Property ExtendedPrice() As Double
Get
Return privateExtendedPrice
End Get
Set(ByVal value As Double)
privateExtendedPrice = value
End Set
End Property
Private privateFreight As Double
Public Property Freight() As Double
Get
Return privateFreight
End Get
Set(ByVal value As Double)
privateFreight = value
End Set
End Property
End Class

Public Class Address
Private privateCity As String
Public Property City() As String
Get
Return privateCity
End Get
Set(ByVal value As String)
privateCity = value
End Set
End Property
Private privateRegion As String
Public Property Region() As String
Get
Return privateRegion
End Get
Set(ByVal value As String)
privateRegion = value
End Set
End Property
Private privateCountry As String
Public Property Country() As String
Get
Return privateCountry
End Get
Set(ByVal value As String)
privateCountry = value
End Set
End Property
End Class

Note: The 'invoices.tab' file is included in the installation package of VIBlend Controls for Silverlight. The default path to the file is: C:\Program Files\VIBlend\SilverlightControls v.5.0\Source Code\CSharp\Examples\Grid\invoices.tab.

In the next version of VIBlend Controls for Silverlight, we
will introduce a new control - Silverlight ChildWindow. The ChildWindow control
allows you to direct a user’s attention to a particular activity in your
application such as entering data or viewing information. This new control
resembles a standard Window and can be displayed in a modal or non-modal popup.
When the control is displayed in a modal mode, the interaction with the
underlying user interface is blocked.

Built-In Features:

Animated Open and Close Effects - the window is
opened and closed with a smooth animation.

Resizing Support - users can choose to drag
edges to resize the window.

Modal Mode - when the window is opened in a
modal mode, the end-users cannot access any part of the interface outside of
the dialog.

After we subscribe to the MouseRightButtonDown event, we should implement its event handler. In the event handler, we display the ContextMenu control on the position where the right mouse button is clicked.

Private Sub MainPage_MouseRightButtonDown(ByVal sender As Object, ByVal e As MouseButtonEventArgs)
Dim point As Point = e.GetPosition(Me.treeView1)
If point.X >= 0 AndAlso point.X <= Me.treeView1.Width Then
If point.Y >= 0 AndAlso point.Y <= Me.treeView1.Height Then
Dim contextMenuLocation As Point = e.GetPosition(Me)
Me.contextMenu1.Open(contextMenuLocation)
e.Handled = True
End If
End If
End Sub

Finally, we implement the event handlers that will add, remove and disable TreeViewItem objects.

Private Sub AddItem_Click(ByVal sender As Object, ByVal e As EventArgs)
If Me.treeView1.SelectedItem IsNot Nothing Then
Dim item As New TreeViewItem("New Item")
Me.treeView1.SelectedItem.Items.Add(item)
End If
End Sub

Private Sub RemoveItem_Click(ByVal sender As Object, ByVal e As EventArgs)
If Me.treeView1.SelectedItem IsNot Nothing Then
If Me.treeView1.SelectedItem.ParentTreeViewItem IsNot Nothing Then
Me.treeView1.SelectedItem.ParentTreeViewItem.Items.Remove(Me.treeView1.SelectedItem)
ElseIf Me.treeView1.Items.Contains(Me.treeView1.SelectedItem) Then
Me.treeView1.Items.Remove(Me.treeView1.SelectedItem)
End If
End If
End Sub

Private Sub DisableItem_Click(ByVal sender As Object, ByVal e As EventArgs)
If Me.treeView1.SelectedItem IsNot Nothing Then
Me.treeView1.SelectedItem.IsEnabled = False
End If
End Sub

We are proud to announce the availability of VIBlend
Controls for Silverlight ver. 3.5.0 - the next generation of user interface
controls for Silverlight from VIBlend.Our
main efforts for this release were focused on improving the DataGrid’s
rendering and performance.

Highlights of the new features and improvements in the new
version are:

DataGrid performance optimizations

New themes for all VIBlend Controls for Silverlight

New controls - TabControl, Toolbar and BannerRotator

Design Time improvements

To help you create themes and skins for your applications,
we added a new ‘CustomTheme’ project to our installation package. This project
includes C# and VB .NET samples and xaml style definitions for our controls.