Alessandro Del Sole's Blog

{ A programming space about Microsoft® .NET® }
posts - 1906, comments - 2047, trackbacks - 352

My Links

News

Your host

This is me! Questo spazio è dedicato a Microsoft® .NET®, di cui sono molto appassionato :-)

Cookie e Privacy

Disabilita cookie ShinyStat

Microsoft MVP

My MVP Profile

Microsoft Certified Professional

Microsoft Specialist

Xamarin Certified Mobile Developer

Il mio libro su VB 2015!

Pre-ordina il mio libro su VB 2015 Pre-ordina il mio libro "Visual Basic 2015 Unleashed". Clicca sulla copertina per informazioni!

Il mio libro su WPF 4.5.1!

Clicca sulla copertina per informazioni! E' uscito il mio libro "Programmare con WPF 4.5.1". Clicca sulla copertina per informazioni!

These postings are provided 'AS IS' for entertainment purposes only with absolutely no warranty expressed or implied and confer no rights.
If you're not an Italian user, please visit my English blog

Le vostre visite

I'm a VB!

Guarda la mia intervista a Seattle

Follow me on Twitter!

Altri spazi

GitHub
I miei progetti open-source su GitHub

Article Categories

Archives

Post Categories

Image Galleries

Privacy Policy

English posts

Translations of the original Italian posts, for the largest worldwide diffusion possible :-)
Privacy Policy for Windows, Android and iOS Apps by Alessandro Del Sole

English Windows, Android and iOS apps created by Alessandro Del Sole use an Internet connection only to retrieve information from RSS feeds, to open Web pages. If an app uses maps, the Internet connection is only required to show information about a specific place. If an app uses Cloud services, the Internet connection is only required to save and restore the application data. No other usage of the Internet connection is made. Your personal information will be never collected nor transmitted over the Internet. Italiano Le app per Windows, Android e iOS create da Alessandro Del Sole usano la connessione a Internet solo per...

posted @ lunedì 2 luglio 2012 23:26 |

Vsi Builder 2008

The Visual Basic Tips & Tricks team is pleased to announce the availability of the newest release of a tool for developers called Vsi Builder, created by Alessandro Del Sole to our Community. Vsi Builder is a unique graphical interface tool about creating .vsi installation packages for redistributing and installing additional contents for Visual Studio (code snippets, macros, add-ins, projects/elements templates and starter kits, IDE settings) with a few mouse clicks! Vsi Bulder is a completely free tool and it’s for developers who use Microsoft Visual Studio, both in 2005 edition and 2008 edition! Moreover, Vsi Builder can be used by...

posted @ sabato 5 aprile 2008 18:38 | Feedback (18) |

Calendar example with ASP.NET

Most of the people who visit my blog well know that I'm not really interested in the ASP.NET world. But I wanted to understand something more about web applications in Visual Studio 2005, so I started to take a (little) look. Being helped by a great friend of mine, whose name is Alessandro Ardovini from Rome (I want to thank him in front of everyone of you, because he also agreed to prepare a download for what I'm going to describe), I've realized a simple Web application which implements a particular calendar. Controls allow to select a date via Comboboxes; on the other side you can select...

posted @ martedì 22 gennaio 2008 21:46 | Feedback (8) |

Announcing Vsi Builder v. 1.0

Introducing Vsi Builder Vsi Builder is an application for developers who use Microsoft Visual Studio 2005/2008 or single Express editions. It can build redistributable .vsi (Visual Studio Content Installer) installation packages to deploy additional contents for Visual Studio as code snippets, add-ins, macro projects, templates and starter kits, Visual Studio settings, debugger visualizers, toolbox controls. Even if it is not a code snippet editor, Vsi Builder allows you to create .vsi packages containing multiple code snippet, in a different way from Microsoft Snippet Editor 2005 which allows you to export to .vsi only one snippet at a time. By the way, you should still use this application...

posted @ domenica 9 dicembre 2007 17:18 | Feedback (27) |

WPF and the WrapPanel control

There is another interesting panel in Windows Presentation Foundation, called WrapPanel. Its main feature is to place controls from left to right, wrapping controls that go over the container itself width or of  the window width. Consider the following XAML: <WrapPanel> <Label Margin="10,10,10,10">Esempio di contenitore WrapPanel< SPAN>Label> <Button Margin="10,10,10,10" Width="50">Hello!</< SPAN>Button> <Button Margin="10,10,10,10" Width="150">Second Hello!</< SPAN>Button> </< SPAN>WrapPanel> This is what it produces on video: If you try to enlarge the window, this is what automatically happens: Obviously, if you reduce window's width the first button will be wrapped too. Alessandro

posted @ martedì 16 ottobre 2007 19:00 | Feedback (1) |

WPF and the Canvas panel

Until now we've seen a lot of code samples about Windows Presentation Foundation. In these samples we used to place controls particularly inside Grid and StackPanel panels. There is another exciting panel which WPF exposes and that is called Canvas. This panel is really interesting: width and height are always zero but children controls maintain their original size. Morevore, controls can just specify their position inside the container. In this way we have an absolute control positioning and controls maintain their size, just specifying their position in Canvas. Consider the following XAML: <Canvas Background="Orange"> <Image Canvas.Top="10" Canvas.Left="10" Source="logovbtt.gif" /> </Canvas> It produces the following result to...

posted @ lunedì 15 ottobre 2007 21:55 | Feedback (5) |

WPF: the Expander control

In Windows Presentation Foundation we can use a control called Expander, which is a sort of controls contanier and that can be expanded and closed just with a mouse click. Let's see a graphical sample. In Visual Studio 2005, type the following XAML: <Grid> <Expander Margin="10,10,10,10" Background="LightBlue"> <Expander.Header> Expander control sample </Expander.Header> <ListBox Margin="20,10,0,0" Background="LightGreen"> <ListBoxItem Content="First item"...

posted @ domenica 14 ottobre 2007 14:24 | Feedback (3) |

OpacityMask in WPF

In Windows Presentation Foundation, the most of controls expose a property called OpacityMask which allows to create transparency areas along the object itself and diffuse those areas in different manners. Let's see a practical sample on a Button. Start Visual Studio 2005 and create a new empty WPF project, then type the following XAML from within the Grid: <Button Width="220" Height="75"> <Button.OpacityMask> <LinearGradientBrush > <GradientStop Color="Transparent" Offset="0"/> ...

posted @ domenica 14 ottobre 2007 13:42 | Feedback (9) |

WPF: let your pc speak!

Windows Presentation Foundation allows computers to speak by using some features of the DirectX libraries according to Microsoft's implementation of Text-To-Speech technology. You just have to add a reference to the following assembly: System.Speech.dll. Let's see how it works. Open Visual Studio 2005 and create a new Windows Application (WPF) project either in VB 2005 or in C#. Then add a reference to System.Speech.dll. Let's draw a very simple button, which contains some text, writing the following XAML: <Grid> <Button Name="Button1" Width="250" Height="50" Click="Speak">Hello Windows Presentation Foundation!</Button> </Grid> We assigned a Button1 identifier which is necessary to interact with...

posted @ lunedì 8 ottobre 2007 21:52 | Feedback (3) |

WPF: Menus with different fonts

When implementing menus in WPF applications, you can assign different fonts (each with different properties) to each single header or command. Consider the following XAML: <DockPanel LastChildFill="True"> <Menu DockPanel.Dock="Top" VerticalAlignment="Top"> <MenuItem Name="FileMenu" Header="File" FontFamily="Script MT Bold" FontSize="14" FontStyle="Italic" FontWeight="Medium"> <MenuItem Name="FileVivaldiCommand" Header="Command with Vivaldi Font" FontFamily="Vivaldi" FontSize="16" FontWeight="Heavy"> <MenuItem.Background> <LinearGradientBrush> <GradientStop Color="Red" Offset="0" /> ...

posted @ lunedì 8 ottobre 2007 21:46 | Feedback (5) |

Full English posts Archive

Powered by:
Powered By Subtext Powered By ASP.NET