Dependency Property in .NET PRO

The dependency property is a property that can be set directly by various different property providers while having them prioritized. The dependency property depends on multiple property providers. Each one of them has its own level of precedence. We use dependency properties just as any other property. There is no need knowing in advance that […]

Font Families in Silverlight PRO

Using a new font family in a Silverlight application is fairly simple. There are several ways for doing it. The simplest of them is adding the TTF file to our application (simple drag & drop when using the Visual Studio IDE) and referring it from within the XAML file. <UserControl x:Class=”SilverlightApplication15.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ […]

The Image Stretch Property in Silverlight PRO

The Stretch possible values include Fill, None, Uniform which is the default value and UniformToFill. Fill will stretch the image in width and height to fit the Image element. None will keep the image native size. Uniform will set the largest possible size while keeping the aspect ratio unchanged. UniformToFill will size the width and […]

Silverlight Initialization Parameters PRO

We can easily pass initialization parameters from the HTML code that invokes the Silverlight application to the Silverlight application itself. The parameters should be placed as key value pairs, while the keys are their names and the values are the values of each one of them, as a string which is the value of a […]

Creating Tooltips in Silverlight PRO

The tooltips are represented by the ToolTip content control. We don’t need to add a ToolTip element. We can set an attached property and the Silverlight platform will create the tool tip automatically. <UserControl x:Class=”SilverlightApplication15.MainPage” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ mc:Ignorable=”d” d:DesignHeight=”300″ d:DesignWidth=”400″> <Canvas> <Button FontSize=”22″ ToolTipService.ToolTip=”This is a Simple Tooltip” Content=”OK”></Button> </Canvas> </UserControl> The following […]

Simple Style Definition in Silverlight INFO

Instead of specifying separately for each and every element how exactly it should look we can define a style and then apply it on various elements. Using styles promotes code reuse, makes our code shorter and assists with the code maintenance in the long run. Defining a style is about defining a collection of property […]

The Component Art Dashboard Server INFO

The Component Art dashboard server allows you to develop in Silverlight, place the XAML file on server and allows it to automatically convert it to HTML5 delivered directly to any mobile platform. The rich UI components developed by Component Art allow you to extend your hybrid application into the next level. Whether you develop for […]

Simple Template Definition in Silverlight PRO

Templates allow us to apply a set of design rules on the controls we have on our page. They change the visual face of every common control. Unlike styles, when using a template we are not limited for those properties that were defined in the Element class. Templates are limited for those elements that extend […]

Zend PHP Cloud Solution INFO

Zend Technologies has recently announced about PHPCloud, its cloud solution for PHP development. It is currently still in its beta phase. The following video clip created by Kevin Schroeder shows the first steps.

Silverlight Pages Navigation Security Issue PRO

When the Silverlight application uses pages the URL address is appended with the name of the page resource the user see. This has a security implication as it might allow a malicious user to access pages he is not allows to. The following video clip shows that.

Skip to content Update cookies preferences