Tagged Content List
  • Wiki Page: How to Concatenate Strings into a Single Wrapping TextBlock (with Wrapping on Each Word)

    This "How To" shows several concepts around grouping and wrapping text. It also shows just how flexible the TextBlock now is, since the introduction of Runs. Each Run can have different styles, cursors, even events like MouseLeftButtonDown For this scenario, a WPF Forum poster...
  • Wiki Page: Articoli Italiani su TechNet Wiki - C# (it-IT)

    Table of Contents Introduzione Elenco articoli Vedere anche Introduzione Questa pagina contiene un elenco diviso in categorie degli articoli in lingua italiana presenti sul TechNet Wiki e relativi al linguaggio di programmazione C# , sia scritti originariamente in Italiano che tradotti...
  • Wiki Page: Utilizando IEnumerable

    Olá pessoal, hoje eu vou falar e mostrar um pouco sobre como pegar os valores de um IEnumerable em forma de propriedade. Além de mostrar as várias maneiras de utilizar o retorno desse tipo. O grande problema hoje é a forma de pegar os dados, a melhor maneira de pegar os dados é utilizando propriedades...
  • Wiki Page: Building an App using the DataviewModel from external XML

    The title pretty much explains everything we will find in this article and solution to this question We will be using data from xml file to build our own data model and then finally displaying that to end user. ( Actual Question Image Link ) Basically this question answers three things...
  • Wiki Page: Nesting, ListView inside ListView DataTemplate (Or TreeView representation)

    This article builds a data model to represent the nesting relationship which can be displayed in a tree like structure inside nested ListViews. This tries to solve this MSDN problem and create a structure as shown below Data Model class Menu { public ObservableCollection<...
  • Wiki Page: Display Images in GridView/ListView using DataBinding

    This article shows how easy it is to display images in ItemsControl element using simple DataBinding. Answer posted to these MSDN questions ( 1 , 2 ) Let's take a look at this sample code for the implementation details: < GridView x:Name = "gridView" ItemsSource...
  • Wiki Page: WebView - Dynamic Html Page with Images (MVVM)

    This article provides support for WebView in Windows 8 to display local html file or html page created dynamically. Oftentimes developers are looking to display local html file but due to the WebView restrictions (for security reasons) are not able to achieve it. This also caters to following Code...
  • Wiki Page: C#: Ensure User only Runs One Copy of a Program

    Using a mutex, you can ensure that multiple users can run a program, but each one can run only one copy of the program. This can come in handy when users are logging into a Citrix server or other shared server, and you don't want to limit the application to running only once. The following...
  • Wiki Page: C# vs CLR Datatype

    Source reference Content below is a transcript of the following discussion http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string All the content contributed to Stack Overflow, Stack Overflow Meta, Server Fault, and Super User is cc-wiki (aka cc-by-sa )...
  • Wiki Page: C# Calcolare numero di files presenti in un dato percorso (it-IT)

    Il seguente snippet di codice permette di eseguire – dato un percorso iniziale ed un pattern file da considerare – un rapido conteggio dei files presenti nell'intera gerarchia della directory indicata, ovvero nella cartella stessa ed in tutte le sottodirectory ad essa relative. La funzione qui...
  • Wiki Page: Named Pipes IO for Inter-process Communication

    Introduction Use the .NET 3.5 Named Pipes IO for Inter-process communication by implementing a pipe listener on a separate thread. The first sample is a WPF project. It can also be done just as easily in Windows forms. Description The sample demonstrates how to pass string data from clients...
  • Wiki Page: La classe Multibinding in Wpf e C# (it-IT)

    In questo semplice esempio vedremo come utilizzare la Classe Multibinding . La classe MultiBinding consente di associare una proprietà di destinazione dell'associazione a un elenco di proprietà di origine e di applicare quindi una logica per produrre un valore con gli input specificati. In questo...
  • Wiki Page: C# Convert an .Ico File to a .Bmp

    In this example, using the Bitmap class included in the System.Drawing namespace, an .ico file is converted to a .bmp file to display it in a PictureBox. This is necessary because the .ico format is not supported by the PictureBox control. using System.Drawing; using System.Windows.Forms; namespace...
Page 5 of 14 (350 items) «34567»