xaml #xaml

Size: px
Start display at page:

Download "xaml #xaml"

Transcription

1 xaml #xaml

2 1 1: xaml Examples : XAML 5 Examples 5 Microsoft Visual StudioMicrosoft Expression Blend 5 WPF 5 5 WPF 5 3: XAML 6 Examples 6 XAML 6 XAML 7 4: 8 Examples 8 8 XAML 8 C 8 5: Examples 10 IsChecked BooleanToVisibilityConverterInvertibleBooleanToVisibilityConverter 12 6: XAML 14 14

3 Examples 14 xbind 14 XAML : 16 Examples 16 ListBoxDataTemplate 16 8: Examples INotifyPropertyChanged 20 INotifyPropertyChangedINotifyCollectionChanged 22 9: 26 Examples DockPanel 26 StackPanel / 29 WrapPanel UniformGrid / 31

4 FirstColumn

5 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: xaml It is an unofficial and free xaml ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official xaml. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners. Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to 1

6 1: xaml をいめる Lの anguagexamlarkup E X tensible A pplication Mは マイクロソフトがしたXMLベースのマークアップです これは Windows Presentation FoundationWPF Silverlight WinRT Universal Windows PlatformなどのいくつかのMicrosoftテクノロジでアプリケーションのユーザーインターフェイスをするためにされます バージョン バージョン WPF XAML Silverlight Silverlight Windows 8 XAML Examples インストールまたはセットアップ のXAMLをするもなは Microsoft Visual Studioをインストールすることです これはマイクロソフトからでできます インストールしたら VB.NETまたはCコードをして WPFアプリケーションタイプのしいプロジェクトをできます これは のウィンドウをっているというでのWindowsフォームとていますが ないは これらのウィンドウがXAMLでされていて さまざまなデバイスににであるということです まだがです こんにちは WPF の XAML ページのなをにします Grid TextBlock Button XAML のもなでされています <Window x:class="firstwpfapplication.mainwindow" xmlns=" xmlns:x=" xmlns:d=" xmlns:mc=" mc:ignorable="d" Title="MainWindow" 2

7 Height="350" Width="525"> <Grid> <TextBlock Text="Welcome to XAML!" FontSize="30" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center"/> <Button Content="Hello World!" Background="LightGray" Foreground="Black" FontSize="25" Margin="0,100,0,0" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Grid> </Window> <Window> データをし ユーザーがデータとできるようにするコンテンツをホストするルートコンテナ WPF ウィンドウは がルートである XAML.xaml ファイルと CodeBehind.cs ファイルのみわせです <Grid> をとののにするレイアウトパネル <TextBlock> Inlines プロパティで Text プロパティまたは Bold Hyperlink InlineUIContainer などのインラインフローコンテンツにテキストをするためのなコントロールをします <Button> ユーザーがクリックするとするボタンコントロールをします プロパティ Title ウィンドウのタイトルをまたはします Height のさをまたはします Width のをまたはします Text テキストのテキストコンテンツをまたはします FontSize テキストののフォントサイズをまたはします Background のをペイントするブラシのをまたはします Foreground のテキストのフォントをペイントするブラシのをまたはします Margin とのとののをすをまたはします HorizontalAlignment がパネルまたはアイテムコントロールなどのでされている にされるのをまたはします 3

8 プロパティ VerticalAlignment がパネルまたはアイテムコントロールなどのでされたときに にされるをまたはします オンラインで xaml をいめるをむ をいめる 4

9 2: XAML ツール Examples Microsoft Visual Studio と Microsoft Expression Blend XAML アプリケーションのれたプロフェッショナルデザインツールである Blend for Visual Studio をして Windows デスクトップアプリケーションのなユーザーインターフェイスをします ブレ ンドのなベクターツールスイート なテンプレート リアルタイムアニメーション ビジュアルステートなどをして しいトランジションとビジュアライゼーションをします Visual Studio をダウンロードする WPF インスペクタ WPF Inspector は の WPF アプリケーションにアタッチして レイアウト データバインディン グ またはスタイリングにするなのトラブルシューティングをうユーティリティです WPF Inspector をすると ツリーとビジュアルツリーのライブビューをべたり のプロパティをみり したり データコンテキストをしたり トリガーをトリガーしたり スタイルをトレースしたりすることができます Codeplex から WPF Inspector をダウンロード スヌープ Snoop は デバッガをとせずにの WPF アプリケーションのビジュアルツリーをブラウズしてプロ パティをできるオープンソースのツールです GitHub から WPF Snoop をダウンロード WPF パフォーマンススイート Windows SDKには WPFWindows Presentation Foundationアプリケーションののパフォーマンスプロファイリングツールがまれています これらは WPF Performance Suiteとばれます WPF Performance Suiteをすると WPFアプリケーションのをし なパフォーマンスのをできます WPF Performance Suiteには PerforatorとVisual Profilerとばれるパフォーマンスプロファイリングツールがまれています このトピックでは PerforatorとVisual ProfilerツールをWPF Performance Suiteにインストールしてするについてします もっとむMSDN オンラインでXAMLツールをむ 5

10 3: カスタム XAML ファイルの Examples XAML からオブジェクトをみむ のクラスのを XAML でし に CLR オブジェクトにみむがあります namespace CustomXaml public class Test public string Value get; set; public List<TestChild> Children get; set; = new List<TestChild>(); public class TestChild public string StringValue get; set; public int IntValue get; set; クラスには なコンストラクタがないか のクラスをするがあります XAMLをきれいにつには コレクションをするがあります XAMLでコレクションをすることもです XAMLをみるには XamlServicesクラスをできます にするがあるSystem.Xamlでされています のは test.xamlファイルをディスクからみみます Test test = XamlServices.Load("test.xaml") as Test; XamlServices.Loadメソッドには ストリームやそののソースからみむのオーバーロードがあります めみファイルからXAMLをみむWPFでわれたなど デフォルトでPageされているBuild Action プロパティは Embedded Resourceするがあります それの コンパイラはWPFアセンブリへのをします みるXAMLファイルのは のようになります <Test xmlns="clr-namespace:customxaml;assembly=customxaml" xmlns:x=" Value="test"> <Test.Children> <TestChild StringValue="abc" IntValue="123"/> <TestChild StringValue="x:Null" IntValue="456"/> </Test.Children> </Test> な xmlns は なしでじのクラスのをにします xmlns:x のは x:null ようなをするためにです もちろん にじてのやアセンブリのをすることもできます 6

11 XAML にオブジェクトをきむ のクラスのを XAML でし に CLR オブジェクトにみむがあります namespace CustomXaml public class Test public string Value get; set; public List<TestChild> Children get; set; = new List<TestChild>(); public class TestChild public string StringValue get; set; public int IntValue get; set; XAML をするために XamlServices クラスをできます にするがある System.Xaml でされています のは Test というタイプのインスタンス test をディスクの test.xaml ファイルに test.xaml ます XamlServices.Save("test.xaml", test); XamlServices.Save メソッドには ストリームやそののターゲットにきむためのオーバーロードが いくつかあります の XAML はのようになります <Test Value="test" xmlns="clr-namespace:customxaml;assembly=customxaml" xmlns:scg="clr-namespace:system.collections.generic;assembly=mscorlib" xmlns:x=" <Test.Children> <scg:list x:typearguments="testchild" Capacity="4"> <TestChild IntValue="123" StringValue="abc" /> <TestChild IntValue="456" StringValue="x:Null" /> </scg:list> </Test.Children> </Test> な xmlns は なしでじのクラスのをにします xmlns:x のは x:null ようなをするためにです はに xmlns:scg をして Test オブジェクトの Children プロパティの List<TestChild> をします コンストラクタによってされるプロパティにしません オンラインでカスタム XAML ファイルのをむ カスタム xaml ファイルの 7

12 4: コントロールテンプレート Examples コントロールテンプレート WPF コントロールののユーザーインターフェイスは のコントロールとからされます たとえ ば Button は ButtonChrome コントロールと ContentPresenter コントロールのでされます ButtonChrome はなボタンのをし ContentPresenter は Content プロパティでされたボタンのコン テンツをします コントロールのデフォルトのは アプリケーションのなにわないことがあります この ControlTemplate をして コントロールのとをせずにコントロールのユーザーインターフェイスのをできます XAML <Window xmlns=" xmlns:x=" x:class="sdksample.controltemplatebuttonwindow" Title="Button with Control Template" Height="158" Width="290"> <!-- Button using an ellipse --> <Button Content="Click Me!" Click="button_Click"> <Button.Template> <ControlTemplate TargetType="x:Type Button"> <Grid Margin="5"> <Ellipse Stroke="DarkBlue" StrokeThickness="2"> <Ellipse.Fill> <RadialGradientBrush Center="0.3,0.2" RadiusX="0.5" RadiusY="0.5"> <GradientStop Color="Azure" Offset="0.1" /> <GradientStop Color="CornflowerBlue" Offset="1.1" /> </RadialGradientBrush> </Ellipse.Fill> </Ellipse> <ContentPresenter Name="content" HorizontalAlignment="Center" VerticalAlignment="Center"/> </Grid> </ControlTemplate> </Button.Template> </Button> </Window> C コード using System.Windows; namespace SDKSample public partial class ControlTemplateButtonWindow : Window 8

13 public ControlTemplateButtonWindow() InitializeComponent(); void button_click(object sender, RoutedEventArgs e) MessageBox.Show("Hello, Windows Presentation Foundation!"); オンラインでコントロールテンプレートをむ コントロー ルテンプレート 9

14 5: コンバーター パラメーター パラメータ の targettype パラメータ の コンバージョンのみをするオプションの CultureInfo オブジェクト - なローカリゼーション Convertメソッドは ソースはビューモデルからターゲットはコントロールのプロパティにをします ConvertBackメソッドは ターゲットからのをソースにします バインディングがTwoWayまたは OneWayToSource にのみです ConvertBackがサポートされていない つまりとのに11のマッピングがない ConvertBackメソッドでDependencyProperty.UnsetValueすのがです これは しないエラーをするため NotImplementedException をげるよりもれたです また DependencyProperty.UnsetValueがコンバーターによってされた バインディングはFallbackValueをけることができます Examples IsChecked コンバーターへの XAML の <RadioButton IsChecked="Binding EntityValue, Mode=TwoWay, Converter=StaticResource StringToIsCheckedConverter, ConverterParameter=Male" Content="Male"/> <RadioButton IsChecked="Binding EntityValue, Mode=TwoWay, Converter=StaticResource StringToIsCheckedConverter, ConverterParameter=Female" Content="Female"/> C クラス public class StringToIsCheckedConverter : IValueConverter 10

15 public object Convert(object value, Type targettype, object parameter, System.Globalization.CultureInfo culture) string input = (string)value; string test = (string)parameter; return input == test; public object ConvertBack(object value, Type targettype, object parameter, System.Globalization.CultureInfo culture) if (value == null!(value is bool)) return string.empty; if (parameter == null!(parameter is string)) return string.empty; if ((bool)value) return parameter.tostring(); else return string.empty; コンバータ 101 XAML コントロールには DataContext またはのコントロールからのオブジェクトにバインドでき るプロパティがあります バインドされるオブジェクトのタイプがターゲット DependencyProperty タイプとなる コンバータをしてあるタイプをのタイプにさせることができる コンバーターは System.Windows.Data.IValueConverter または System.Windows.Data.IMultiValueConverter するクラスです WPF はすぐにできるコンバータをして いますが はカスタムですることがよくあります XAML でコンバータをするには Resources セクションでインスタンスをインスタンスできます のでは System.Windows.Controls.BooleanToVisibilityConverter がされます <UserControl.Resources> <BooleanToVisibilityConverter x:key="booleantovisibilityconverter"/> </UserControl.Resources> x:key がされていることにしてください このは バインディングの BooleanToVisibilityConverter のインスタンスをするためにされます <TextBlock Text="This will be hidden if property 'IsVisible' is true" Visibility="Binding IsVisible, Converter=StaticResource BooleanToVisibilityConverter"/> 11

16 のでは ブール IsVisible プロパティが System.Windows.Visibility のにされています Visibility.Visible が true の Visibility.Collapsed されている コンバータのと BooleanToVisibilityConverter および InvertibleBooleanToVisibilityConverter バインディングをしてするために あるタイプのをのタイプののにするコンバーターがあります データバインディングでコンバーターをするには に DataConverter クラスをするがあります IValueConverter WPFUWP または IMultiValueConverter WPF のを 1 つのにする この boolean True/False を する Visibility Visibility.Visible および Visibility.Collapsed にするこ とにをてます public class BooleanToVisibilityConverter : IValueConverter public object Convert(object value, Type targettype, object parameter, string language) return (value is bool && (bool) value)? Visibility.Visible : Visibility.Collapsed; public object ConvertBack(object value, Type targettype, object parameter, string language) return (value is Visibility && (Visibility) value == Visibility.Visible); Convert あなたはいつでもメソッドがびされた GET データ FROM ViewModel ConvertBack にびされた SET データ ING の TO ViewModel するために BindingMode.TwoWay バインディング もちろん コンバーターのプロパティをすることもできます これをてみましょう public class InvertibleBooleanToVisibilityConverter : IValueConverter public bool Invert get; set; = false; public object Convert(object value, Type targettype, object parameter, string language) return (value is bool && (bool) value!= Invert)? Visibility.Visible : Visibility.Collapsed; public object ConvertBack(object value, Type targettype, object parameter, string language) return (value is Visibility && ((Visibility) value == Visibility.Visible)!= Invert); 12

17 Binding でコンバータをするは にページ ウィンドウ またはののリソースとしてし それにキ ーをえ になプロパティをします <Page... xmlns:converters="using:mynamespce.converters"> <Page.Resources> <converters:invertiblebooleantovisibilityconverter x:key="booleantovisibilityconverter" Invert="False" /> </Page.Resources> バインディングで StaticResource としてします <ProgressRing Visibility="Binding ShowBusyIndicator, Converter=StaticResource BooleanToVisibilityConverter, UpdateSourceTrigger=PropertyChanged, Mode=OneWay" /> オンラインでコンバーターをむ コンバーター 13

18 6: さまざまな XAML のい XAMLは Silverlight Windows Phone Windows RT およびUWPアプリケーションでされます さまざまなXAMLのないのために コードをしたりコードでコードをしたりすることは ましいよりもしいがあります このトピックでは これらののをにしています Examples コンパイルされたデータバインディング xbind マークアップ XAMLをするには データのがです UWPアプリケーションのXAMLは xbind マークアップのようなのバインディングをします Binding XXX と xbind XXX はほとんどじですが xbindがコンパイルにし デバッグブレークポイントなどとパフォーマンスがします <object property="x:bind bindingpath" /> xbindマークアップは UWPアプリケーションでのみできます については このMSDNの Silverlight WPF Windows RTのの Binding XXX をしてください <object property="binding bindingpath" /> XAML でののインポート ほとんどの XAML ファイルにをインポートするがあります これがどのようにわれるかは さまざまな XAML のバリエーションによってなります Windows Phone Silverlight WPF では clr-namespace のをします <Window... xmlns:internal="clr-namespace:rootnamespace.namespace" xmlns:external="clr-namespace:rootnamespace.namespace;assembly=externalassembly" > Windows RT UWP のはのとおりです <Page... xmlns:internal="using:rootnamespace.namespace" xmlns:external="using:rootnamespace.namespace;assembly=externalassembly" > マルチバインディング 14

19 マルチバインディングは WPF のです これは にのへのバインドをにします MultiValueConverter でされます <TextBox> <TextBox.Text> <MultiBinding Converter="StaticResource MyConverter"> <Binding Path="PropertyOne"/> <Binding Path="PropertyTwo"/> </MultiBinding> </TextBox.Text> </TextBox> WPF のプラットフォームはマルチバインディングをサポートしていません のビューやコンバー ターからビューモデルにコードをするなどや こののようなサードパーティのをするがあります http : // オンラインでさまざまな XAML のいをむ さまざまな xaml のい 15

20 7: データテンプレート Examples ListBox での DataTemplate の の XAML スニペットがあるとします <ListBox x:name="mylistbox" /> に この XAML ファイルのコードビハインドで コンストラクタにのコードをします MyListBox.ItemsSource = new[] 1, 2, 3, 4, 5 ; アプリケーションをすると したのリストがされます しかし このようにカスタムタイプのオブジェクトのリストをしようとすると MyListBox.ItemsSource = new[] new Book Title = "The Hitchhiker's Guide to the Galaxy", Author = "Douglas Adams", new Book Title = "The Restaurant at the End of the Universe", Author = "Douglas Adams", new Book Title = "Life, the Universe and Everything", Author = "Douglas Adams", new Book Title = "So Long, and Thanks for All the Fish", Author = "Douglas Adams", new Book Title = "Mostly Harmless", Author = "Douglas Adams" ; Book というクラスがあるとします public class Book public string Title get; set; public string Author get; set; 16

21 リストはのようになります リストボックスは ブックオブジェクトをしくするために にスマート であるとしていますが には Book タイプのフルネームがされます ListBox がにをするかは するオブジェクトにしてみ みの ToString() メソッドをびすことで のはましいがられますが カスタムクラスのオブジェクトの ToString() をびすと そのスクリーンショットにられるように そのタイプ これをするには Book クラスの ToString() をいてください public override string ToString() return Title; しかし これはあまりがありません もしたいのですがそれを ToString もきむことができますが アプリのすべてのリストでそうしたくなければどうしますかどのようにらしいのをするには それが DataTemplates がつところです これらは XAML のスニペットであり にじて インスタン ス することができ されたソースデータにづいてがされます にえば ListBox コードをのよう にするとします <ListBox x:name="mylistbox"> <ListBox.ItemTemplate> <DataTemplate> <TextBlock Text="Binding Title" /> </DataTemplate> </ListBox.ItemTemplate> </ListBox> そのリストはソースのの TextBox をし それらの TextBox の Text プロパティはオブジェクトの Title プロパティのでめられます 17

22 すぐアプリケーションをすると カスタム ToString をしても とじがられます これについてなのは このテンプレートをな string および ToString のをえてカスタマイズできることです カス タム XAML をむの XAML をすることができ そのをオブジェクトののデータのの Title などに バ インド することができます たとえば のようにテンプレートをします <ListBox x:name="mylistbox"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock FontStyle="Italic" Text="Binding Author" /> <TextBlock FontSize="18" Text="Binding Title" /> </StackPanel> </DataTemplate> </ListBox.ItemTemplate> </ListBox> それからたちはののいビューをします オンラインでデータテンプレートをむ データテンプレー ト 18

23 8: データバインディング <TextBlock Text="Binding Title"/> <TextBlock Text="Binding Path=Title"/> <TextBlock> <TextBlock.Text> <Binding Path="Title"/> </TextBlock.Text> </TextBlock> これらのタグはすべてじをします Examples テキストプロパティにをバインドする に UI コンテンツをするには Binding をできます バインドされたプロパティがコードからされる と UI にされます <TextBlock Text="Binding Title"/> をUIにするには プロパティがPropertyChangedイベントをINotifyPropertyChangedインターフェイスからINotifyPropertyChangedか Dependency Propertyをするがあります プロパティ "Title" がxaml.csファイルまたはXAML Datacontextクラスにある バインディングがしています DatacontextはXAMLでできます <Window x:class="application.mainwindow" xmlns=" xmlns:x=" xmlns:local="clr-namespace:application"> <Window.DataContext> <local:datacontextclass/> </Window.DataContext> バインディングの のようなかのバインドをうときには コードでをしないでのですることができます これをうには StringFormat プロパティをできます ここではいくつかのをします Text="Binding Path=ReleaseDate, StringFormat=dddd dd MMMM yyyy" これはのをのようにフォーマットします 19

24 ののがここにあります Text="Binding Path=Temp, StringFormat=0 C" このはのとおりです 25 INotifyPropertyChanged の オブジェクトをしたいだけでなく するオブジェクトのに UI がするようにするには INotifyPropertyChanged インタフェースのをするがあります MainWindow のようにされているとします <Window x:class="application.mainwindow" xmlns=" xmlns:x=" xmlns:d=" xmlns:vm="clr-namespace:application.viewmodels> <Window.DataContext> <vm:mainwindowviewmodel/> </Window.DataContext> <Grid> <TextBlock Text=Binding Path=ApplicationStateText" /> </Grid> </Window> たちの ViewModel クラスで MainWindowViewModel として namespace Application.ViewModels public class MainWindowViewModel private string _applicationstatetext; public string ApplicationStateText get return _applicationstatetext; set _applicationstatetext = value; public MainWindowViewModel() ApplicationStateText = "Hello World!"; アプリケーションの TextBlock は そのバインディングのためにテキスト Hello World をします に 20

25 ApplicationStateTextがされた UIにはそのようながされません これをするには DataSource このはMainWindowViewModelは インタフェース INotifyPropertyChangedをするがあります これにより BindingsがPropertyChangedEventにできるようになります ApplicationStateTextプロパティをのようにするたびに PropertyChangedEventHandlerをびすだけです using System.ComponentModel; using System.Runtime.CompilerServices; namespace Application.ViewModels public class MainWindowViewModel : INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; public void NotifyPropertyChanged( [CallerMemberName] string propertyname = null) PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); private string _applicationstatetext; public string ApplicationStateText get return _applicationstatetext; set if (_applicationstatetext!= value) _applicationstatetext = value; NotifyPropertyChanged(); public MainWindowViewModel() ApplicationStateText = "Hello World!"; TextBlock.Text Binding がに PropertyChangedEvent リッスンすることをしてください <Window x:class="application.mainwindow" xmlns=" xmlns:x=" xmlns:d=" xmlns:vm="clr-namespace:application.viewmodels"> <Window.DataContext> <vm:mainwindowviewmodel/> </Window.DataContext> <Grid> <TextBlock Text=Binding Path=ApplicationStateText, UpdateSourceTrigger=PropertyChanged " /> </Grid> </Window> 21

26 INotifyPropertyChanged および INotifyCollectionChanged をしてオブジェクトの コレクションにバインドする User オブジェクトのプロパティをプログラムでできる ViewModel Users プロパティのにリストされて いるすべての User オブジェクトをするはずの ListView があるとします <ListView ItemsSource="Binding Path=Users" > <ListView.ItemTemplate> <DataTemplate DataType="x:Type models:user"> <StackPanel Orientation="Horizontal"> <TextBlock Margin="5,3,15,3" Text="Binding Id, Mode=OneWay" /> <TextBox Width="200" Text="Binding Name, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, Delay=450"/> </StackPanel> </DataTemplate> </ListView.ItemTemplate> </ListView> User オブジェクトにして INotifyPropertyChanged Beeing がしくされているにもかかわらず public class User : INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; private int _id; private string _name; public int Id get return _id; private set if (_id == value) return; _id = value; NotifyPropertyChanged(); public string Name get return _name; set if (_name == value) return; _name = value; NotifyPropertyChanged(); public User(int id, string name) Id = id; Name = name; private void NotifyPropertyChanged([CallerMemberName] string propertyname = null) 22

27 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); あなたの ViewModel オブジェクト public sealed class MainWindowViewModel : INotifyPropertyChanged public event PropertyChangedEventHandler PropertyChanged; private List<User> _users; public List<User> Users get return _users; set if (_users == value) return; _users = value; NotifyPropertyChanged(); public MainWindowViewModel() Users = new List<User> new User(1, "John Doe"), new User(2, "Jane Doe"), new User(3, "Foo Bar"); private void NotifyPropertyChanged([CallerMemberName] string propertyname = null) PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); ユーザーのがプログラムによってわれた UI はされません これは に List のインスタンスに INotifyPropertyChanged をしているためです エレメントの 1 つ のプロパティーがされたにのみ リストをにインスタンスしたのみ UI がされます // DO NOT DO THIS User[] usercache = Users.ToArray(); Users = new List<User>(userCache); しかし これはにで じられないほどがいです ユーザーの ID とのをす 100,000 ののがある それぞれをするがあるに 200,000 のデータバインディ ングがあります これにより かがされたときはいつでもユーザーにれをとらせることができます このをにするには List<T> わりに System.ComponentModel.ObservableCollection<T> できます private ObservableCollection<User> _users; public ObservableCollection<User> Users get return _users; 23

28 set if (_users == value) return; _users = value; NotifyPropertyChanged(); ObservableCollection は CollectionChanged イベントをし INotifyPropertyChanged をします MSDN によると イベントは "[..] アイテムが またはリストがされたときにします " ただし ここでしたように コレクションののプロパティがされた.NET では ObservableCollection は CollectionChanged イベントをさせません いて このソリューション々はにたちをすることができます TrulyObservableCollection<T> のない INotifyPropertyChanged ための T 々はなすべてをつとをさらす TINotifyPropertyChanged かどうか /* * Original Class by * Removal of the INPC-Constraint by * according to to suggestion of */ public sealed class TrulyObservableCollection<T> : ObservableCollection<T> private readonly bool _inpchookup; public bool NotifyPropertyChangedHookup => _inpchookup; public TrulyObservableCollection() CollectionChanged += TrulyObservableCollectionChanged; _inpchookup = typeof(inotifypropertychanged).gettypeinfo().isassignablefrom(typeof(t)); public TrulyObservableCollection(IEnumerable<T> items) : this() foreach (var item in items) this.add(item); private void TrulyObservableCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) if (NotifyPropertyChangedHookup && e.newitems!= null && e.newitems.count > 0) foreach (INotifyPropertyChanged item in e.newitems) item.propertychanged += ItemPropertyChanged; if (NotifyPropertyChangedHookup && e.olditems!= null && e.olditems.count > 0) foreach (INotifyPropertyChanged item in e.olditems) item.propertychanged -= ItemPropertyChanged; 24

29 private void ItemPropertyChanged(object sender, PropertyChangedEventArgs e) var args = new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Replace, sender, sender, IndexOf((T)sender)); OnCollectionChanged(args); プロパティ Users を ViewModel の TrulyObservableCollection<User> としてします private TrulyObservableCollection<string> _users; public TrulyObservableCollection<string> Users get return _users; set if (_users == value) return; _users = value; NotifyPropertyChanged(); たちのUIは CollectionののINPC-Propertyがされるたびにされ すべてののBindingをするはありません オンラインでデータバインディングをむ データバインディング 25

30 9: レイアウトコントロール Examples キャンバス Canvas はパネルのでもシンプルです された Top/Left にアイテムをします <Canvas> <TextBlock Canvas.Top="50" Canvas.Left="50" Text="This is located at 50, 50"/> <TextBlock Canvas.Top="100" Canvas.Left="50" Width="150" Height="23" Text="This is located at 50, 100 with height 23 and width 150"/> </Canvas> DockPanel DockPanel は コントロールにされているで ドックプロパティにってコントロールをします DockPanel は WPF フレームワークのですが Silverlight / WinRT / UWP はしていません オープン ソースのはにつけることができます <DockPanel LastChildFill="False"> <!-- This will strech along the top of the panel --> <Button DockPanel.Dock="Top" Content="Top"/> <!-- This will strech along the bottom of the panel --> <Button DockPanel.Dock="Bottom" Content="Bottom"/> <!-- This will strech along the remaining space in the left of the panel --> <Button DockPanel.Dock="Left" Content="Left"/> <!-- This will strech along the remaining space in the right of the panel --> <Button DockPanel.Dock="Right" Content="Right"/> <!-- Since LastChildFill is false, this will be placed at the panel's right, to the left of the last button--> <Button DockPanel.Dock="Right" Content="Right"/> </DockPanel> <!-- When lastchildfill is true, the last control in the panel will fill the remaining space, no matter what Dock was set to it --> <DockPanel LastChildFill="True"> <!-- This will strech along the top of the panel --> <Button DockPanel.Dock="Top" Content="Top"/> <!-- This will strech along the bottom of the panel --> <Button DockPanel.Dock="Bottom" Content="Bottom"/> <!-- This will strech along the remaining space in the left of the panel --> <Button DockPanel.Dock="Left" Content="Left"/> 26

31 <!-- This will strech along the remaining space in the right of the panel --> <Button DockPanel.Dock="Right" Content="Right"/> <!-- Since LastChildFill is true, this will fill the remaining space--> <Button DockPanel.Dock="Right" Content="Fill"/> </DockPanel> StackPanel StackPanel はそのコントロールを々にします これは コントロールパネルのドックがすべてじ にされたドックパネルのようにします <!-- The default StackPanel is oriented vertically, so the controls will be presented in order from top to bottom --> <StackPanel> <Button Content="First"/> <Button Content="Second"/> <Button Content="Third"/> <Button Content="Fourth"/> </StackPanel> <!-- Setting the Orientation property to Horizontal will display the control in order from left to right (or right to left, according to the FlowDirection property) --> <StackPanel Orientation="Horizontal"> <Button Content="First"/> <Button Content="Second"/> <Button Content="Third"/> <Button Content="Fourth"/> </StackPanel> からにアイテムをみねるには ドックパネルをします グリッド Grid はテーブルレイアウトのにされます なとの <Grid> <!-- Define 3 columns with width of > <Grid.ColumnDefinitions> <ColumnDefinition Width="100"/> <ColumnDefinition Width="100"/> <ColumnDefinition Width="100"/> </Grid.ColumnDefinitions> <!-- Define 3 rows with height of 50 --> <Grid.RowDefinitions> <RowDefinition Height="50"/> <RowDefinition Height="50"/> <RowDefinition Height="50"/> </Grid.RowDefinitions> <!-- This is placed at the top left (first row, first column) --> <Button 27

32 Grid.Column="0" Grid.Row="0" Content="Top Left"/> <!-- This is placed at the top left (first row, second column) --> <Button Grid.Column="1" Grid.Row="0" Content="Top Center"/> <!-- This is placed at the center (second row, second column) --> <Button Grid.Column="1" Grid.Row="1" Content="Center"/> <!-- This is placed at the bottom right (third row, third column) --> <Button Grid.Column="2" Grid.Row="2" Content="Bottom Right"/> </Grid> のはすべてのみをしますが にもできます サイズ とは とさを でできます サイズは をするのになスペースとそれのスペースをとしません サイズは サイズでできます <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="50"/> </Grid.ColumnDefinitions> <!-- This column won't take much space --> <Button Grid.Column="0" Content="Small"/> <!-- This column will take much more space --> <Button Grid.Column="1" Content="This text will be very long."/> <!-- This column will take exactly 50 px --> <Button Grid.Column="2" Content="This text will be cut"/> </Grid> シンプルなスターサイズの とさを * とをできます スターサイズの / は にかかわらず それとじきさのスペースをとります スターサイズのは サイズおよびサイズのでできます スターサイズがデフォルトであるため のまたはのさはできます <Grid> 28

33 <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="50"/> </Grid.ColumnDefinitions> <!-- This column will be as wide as it can --> <Button Grid.Column="0" Content="Small"/> <!-- This column will take exactly 50 px --> <Button Grid.Column="2" Content="This text will be cut"/> </Grid> サイズ はできるだけくのスペースをるというにえて のもおいにしています もされていない のは のグリッドののものとじくらいくのスペースをるでしょう しかし にをするだけで なるのサイズのをすることはです したがって 2* としてされたは * としてされたの 2 のになります ユニットのは なスペースをのでってされます 1 でない したがって * 2* * とされた 3 のグリッドは 1/4 1/2 1/4 とされます そして 2* 3* としてされた 2* つのをつものは 2 / 5,3 / 5 とされます セットにまたはのがあるは にこれらのがされ その のにはりのスペースがされます <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="2*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <!-- This column will be as wide as the third column --> <Button Grid.Column="0" Content="Small"/> <!-- This column will be twice as wide as the rest --> <Button Grid.Column="1" Content="This text will be very long."/> <!-- This column will be as wide as the first column --> <Button Grid.Column="2" Content="This text will may be cut"/> </Grid> / スパン Row / ColumnSpan をすることで コントロールをセルのにげることがです されるは / のです <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="2*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <!-- This control will streach across most of the grid --> <Button Grid.Column="0" Grid.ColumnSpan="2" Content="Small"/> <Button Grid.Column="2" Content="This text will may be cut"/> 29

34 </Grid> WrapPanel ラップパネルは スタックパネルとにします がサイズをえていることをしたをいて きにじてしい / にラップします <WrapPanel Width="100"> </WrapPanel> ラップパネル <WrapPanel Height="70" Orientation="Vertical"> </WrapPanel> UniformGrid ユニフォームグリッドはすべてのをグリッドレイアウトにし はそれのセルです すべてのセルはじサイズになります これは すべてのとのが * されているグリッドのとえることができます デフォルトのと デフォルトでは UniformGrid はじのとをしようとします がくなると しいがされます このコードでは の 2 がりつぶされ に 1 つのボタンが 3 3 のグリッドがされます <UniformGrid> 30

35 </UniformGrid> された / あなたは UniformGrid に あなたがちたいやのをにえることができます <UniformGrid Columns="2" > </UniformGrid> とのがされていて セルよりくのがある グリッドののはされません FirstColumn プロパティ Columnsプロパティがされると FirstColumnプロパティをできます このプロパティは のがされるにのにxのセルをします FirstColumnは Columnsプロパティよりもさいにするがあります このでは のの2のにのボタンがされます <UniformGrid Columns="2" FirstColumn="1"> </UniformGrid> パネル RelativePanel は Windows 10 でされ にアダプティブレイアウトをサポートするためにされていま す ここでは パネルのがなにじてなるレイアウトになっています RelativePanel は ビジュアルステートでされます ビジュアルステートは レイアウトをりえたり やウィンドウのサイズ またはユースケースにわせてします は パネルといのをするプロパティをします <RelativePanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> 31

36 <Rectangle x:name="rectangle1" RelativePanel.AlignLeftWithPanel="True" Width="360" Height="50" Fill="Red"/> <Rectangle x:name="rectangle2" RelativePanel.Below="rectangle1" Width="360" Height="50" Fill="Green" /> </RelativePanel> <VisualStateManager.VisualStateGroups> <VisualStateGroup> <VisualState> <VisualState.StateTriggers> <!--VisualState to be triggered when window width is >=720 effective pixels.-- > <AdaptiveTrigger MinWindowWidth="720" /> </VisualState.StateTriggers> <VisualState.Setters> <Setter Target="rectangle2.(RelativePanel.Below)" Value="x:Null" /> <Setter Target="rectangle2.(RelativePanel.RightOf)" Value="rectangle1" /> <Setter Target="rectangle1.(RelativePanel.AlignLeftWithPanel)" Value="False" /> <Setter Target="rectangle1.(RelativePanel.AlignVerticalCenterWithPanel)" Value="True" /> <Setter Target="rectangle2.(RelativePanel.AlignVerticalCenterWithPanel)" Value="True" /> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> オンラインでレイアウトコントロールをむ レイアウトコ ントロール 32

37 クレジット S. No 1 xaml をいめる Contributors ChrisF, Community, Explisam, Raamakrishnan A., Rafael Costa, RenDishen, Ryan Thomas 2 XAML ツール Vimal CK 3 カスタム XAML ファ イルの Alexander Mandt 4 コントロールテンプレート Vimal CK 5 コンバーター Adi Lester, AhammadaliPK, ChrisF, Jirajha, Rafael Costa 6 さまざまな XAML の い HeWillem, stefan.s 7 データテンプレート Dániel Kis-Nagy 8 データバインディング Jirajha, RenDishen, Ryan Thomas, SeeuD1, Tobias 9 レイアウトコントロール CKII, Filip Skakun 33

cocos2d-x #cocos2d-x

cocos2d-x #cocos2d-x cocos2d-x #cocos2d-x 1 1: cocos2d-x 2 2 Examples 2 Mac OS X 2 2 2 2 Windows 3 3 3 4 8 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: cocos2d-x It

More information

WPF Bindingの威力

WPF Bindingの威力 WPF Binding の威力 えムナウ ( 児玉宏之 ) Microsoft MVP for Visual- Developer C# 2005/01-2007/12 アジェンダ はじめに Bindingの概要 データソース データ変換 データ検証 はじめに Windows Presentation Foundation (WPF) データバインディングは アプリケーションがデータを提供し 柔軟な

More information

wix #wix

wix #wix wix #wix 1 1: wix 2 2 WiX 2 WiX 2 WiX 2 3 Examples 3 3 3 3 4 8 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: wix It is an unofficial and free wix

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 WPF アプリケーションの 多言語切替 YK S o f t w a r e 2015 年 6 月 2 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++

More information

DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別で

DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別で DEMO1 まずはやってみよう アクティビティをダブルクリック 作成 - プロジェクト C# => Workflow CodeActivity をぽとぺ シーケンシャルと ステートマシン それぞれのコ ンソールアプリ あとライブラリがある びっくりマークは足りていないあかし プロパティをみると判別できます こんなコードを追加 string str = Console.ReadLine(); int

More information

XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1-

XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1- XAML Do-It-Yourself シリーズ 第 7 回テンプレート -1- XAML Do-It-Yourself 第 7 回テンプレート XAML Do-It-Yourself 第 7 回は テンプレートについて学習します テンプレートを使うと コントロ ールの外観を拡張できます 今回は テンプレートを使って 以下の内容を学習します テンプレートによるコントロールのカスタマズ バンデゖングデータの表示に使用するテンプレート

More information

WPFの初歩の初歩

WPFの初歩の初歩 WPF の初歩の初歩 うつせみ ( 虚蝉 ) 本日のお品書き XAML について XAML って? (Extensible Application Markup Language) XML をベースとしたマークアップ言語 デザインとロジックが分離デザイナとコーダーの分業が可能に XAML を見てみよう どちらも同じものです (Button) XAML C#

More information

Sparkline for WPF

Sparkline for WPF 2018.04.11 更新 グレープシティ株式会社 目次 Sparkline for WPF の概要 2 WPF Edition のヘルプ 2 主要な機能 2 クイックスタート :Sparkline for WPF 2-4 機能 4 軸 4 日付軸 4-5 データ連結 5 スパークラインのタイプ 5-7 スパークラインタイプの設定 7 マーカー 7-9 マーカーの色のカスタマイズ 9-10 タスク別ヘルプ

More information

XAML Do-It-Yourself 第 3 回ベントとトリガー XML Do-It-Yourself 第 3 回目は ベント処理とトリガーについて学習します Windows フォームゕプリケーションでは たとえば ボタンが押された というベントに対応する処理 ( ベントハンドラー ) を記述する

XAML Do-It-Yourself 第 3 回ベントとトリガー XML Do-It-Yourself 第 3 回目は ベント処理とトリガーについて学習します Windows フォームゕプリケーションでは たとえば ボタンが押された というベントに対応する処理 ( ベントハンドラー ) を記述する XAML Do-It-Yourself シリーズ 第 3 回ベントとトリガー -1- XAML Do-It-Yourself 第 3 回ベントとトリガー XML Do-It-Yourself 第 3 回目は ベント処理とトリガーについて学習します Windows フォームゕプリケーションでは たとえば ボタンが押された というベントに対応する処理 ( ベントハンドラー ) を記述することで ゕプリケーションのユーザーンターフェスを実現していました

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 元に戻す操作の実装 YK S o f t w a r e 2015 年 8 月 7 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++ (Windows

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル WPF デザイナーに依るサイズ変更可能なアプリケーションの作成 Grid コンテナーコントロールと共に GridSplitter コントロールを使用する事に依り 実行時にユーザーに依ってサイズを変更出来るウィンドウレイアウトを作成出来る 例えば 領域に分割されて居る UI を持つアプリケーションで ユーザーが分割線をドラッグする事に依り より多くの内容を見る必要が有る領域を大きくする事が出来る

More information

新しいイテレーション型開発

新しいイテレーション型開発 2 XAML WPF Windows Presentation Foundation 4 / 4 5 Silverlight 5 XAML 6 6 XAML 6 6 7 8 8 9 XAML 9 XAML 12 12 / / 13 / 14 15 XAML 15 Expression Blend 15 Visual Studio 2008 16 XAML 16 Microsoft Expression

More information

SharpShooter Reports.WPF 基本的な使い方 Last modified on: November 15, 2012 本ドキュメント内のスクリーンショットは英語表記ですが SharpShooter Reports JP( 日本語版 ) では日本語で表示されます

SharpShooter Reports.WPF 基本的な使い方 Last modified on: November 15, 2012 本ドキュメント内のスクリーンショットは英語表記ですが SharpShooter Reports JP( 日本語版 ) では日本語で表示されます SharpShooter Reports.WPF 基本的な使い方 Last modified on: November 15, 2012 本ドキュメント内のスクリーンショットは英語表記ですが SharpShooter Reports JP( 日本語版 ) では日本語で表示されます 目次 はじめに... 3 システムの必要条件... 3 ライセンス認証... 3 アクティベーション... 5 開発...

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション グレープシテゖ株式会社 八巻雄哉 .NET Framework 3.0 で追加された Windows ゕプリケーションのための GUI サブシステム 2 Windows GDI User Direct3D OpenGL DirectShow 2D 2D 2D 3D ビデオ ビットマップ フォント GUI 3 Windows WPF 2D 3D ビデオ ビットマップフォント GUI 4 うちの業務ゕプリでは

More information

Visual Studio Do-It-Yourself 第 9 回ユーザーコントロール 第 6 回のリソースから第 8 回のテンプレートで さまざまな方法でコントロールをカスタマズできるこ とを学びました 今回のテーマであるユーザーコントロールは 既存の一つのコントロールをカスタマ ズするのではな

Visual Studio Do-It-Yourself 第 9 回ユーザーコントロール 第 6 回のリソースから第 8 回のテンプレートで さまざまな方法でコントロールをカスタマズできるこ とを学びました 今回のテーマであるユーザーコントロールは 既存の一つのコントロールをカスタマ ズするのではな Visual Studio Do-It-Yourself シリーズ 第 9 回ユーザーコントロール -1- Visual Studio Do-It-Yourself 第 9 回ユーザーコントロール 第 6 回のリソースから第 8 回のテンプレートで さまざまな方法でコントロールをカスタマズできるこ とを学びました 今回のテーマであるユーザーコントロールは 既存の一つのコントロールをカスタマ ズするのではなく

More information

wpf #wpf

wpf #wpf wpf #wpf 1 1: wpf 2 2 2 Examples 2 Hello World 2 2: "" 7 7 Examples 7 7 11 3: System.Windows.Controls.WebBrowser 13 13 13 Examples 13 BusyIndicatorWeb 13 4: WPF 14 14 Examples 14 14 15 ComboBox 17 21 DoubleAnimation

More information

XAMLDo-It-Yourself 第 2 回. レゕウト 今回は XAML でウゖンドウにパネルやボタン メニューなどの基本的なコントロールを配置する方法を 学びます ここでは 次のことを学習します XAML におけるレゕウトの基本 主要なパネルとその記述方法 XAML (WPF) で利用可能な

XAMLDo-It-Yourself 第 2 回. レゕウト 今回は XAML でウゖンドウにパネルやボタン メニューなどの基本的なコントロールを配置する方法を 学びます ここでは 次のことを学習します XAML におけるレゕウトの基本 主要なパネルとその記述方法 XAML (WPF) で利用可能な XAML Do-It-Yourself シリーズ 第 2 回レゕウト -1- XAMLDo-It-Yourself 第 2 回. レゕウト 今回は XAML でウゖンドウにパネルやボタン メニューなどの基本的なコントロールを配置する方法を 学びます ここでは 次のことを学習します XAML におけるレゕウトの基本 主要なパネルとその記述方法 XAML (WPF) で利用可能なコントロール 典型的なコントロールの記述方法

More information

Chart3D for WPF/Silverlight

Chart3D for WPF/Silverlight 2018.04.10 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for WPF/Silverlight のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: プロジェクトへのコントロールの追加 4-5 手順 2: データの追加 5-6 手順 3: グラフの外観の変更 6-7 手順 4: 凡例の追加 7 手順 5: プロジェクトの実行 7 XAML クイックリファレンス

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル WPF の概要 此のチュートリアルでは 殆どの Windows Presentation Foundation(WPF) アプリケーションに共通の要素を含む WPF アプリケーションの開発の概要に付いて説明する 此の様な共通の要素には Extensible Application Markup Language(() マークアップ 分離コード アプリケーション定義 コントロール

More information

Windows Presentation Foundation 入門 Ver.1.0. 01-01 YKSoftware Windows Presentation Foundation 入門 目次 目次 1 はじめに... 1.1 目的... 1. 注意... 1. 開発環境... WPF が提供するコントロール....1 WPF の主要なサブシステム... レイアウトに関するコントロール....1

More information

XAML の勉強上要! WPF アプリケーションは作れます

XAML の勉強上要!  WPF アプリケーションは作れます ゕジェンダ 自己紹介 はじめに 簡単なゕプリケーションを作ってみる Binding 概要 Linq to SQL とのバンデゖング ゕニメーション 3D グラフゖック まとめ 自己紹介 福井県越前市 ( 武生市 ) 出身 東京都杉並区在住 ソフトウェゕ業務歴 28 年 フリ- 技術者歴 20 年以上 でも 永遠の28 歳 4Bitワンチップからワークステーションまでのソフトを開発 開発言語も多種多様

More information

Windows 10 IoT Core MVA 2015 August Windows 10 IoT Core ハンズオントレーニング Building and running Github MS IoT Samples on Windows 10 IoT Core 3 章 UWP アプリの開発 L

Windows 10 IoT Core MVA 2015 August Windows 10 IoT Core ハンズオントレーニング Building and running Github MS IoT Samples on Windows 10 IoT Core 3 章 UWP アプリの開発 L Windows 10 IoT Core ハンズオントレーニング Building and running Github MS IoT Samples on Windows 10 IoT Core 3 章 UWP アプリの開発 Lab version: 10240.1.0 Last updated: 9/24/2015 Building and running Github MS IoT Samples

More information

XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1-

XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1- XAML Do-It-Yourself シリーズ 第 1 回 XAML 概要 -1- XAML Do-It-Yourself 第 1 回 XAML 概要 はじめに - XAML Do-It-Yourself について 本 XAML Do-It-Yourself シリーズでは 13 回にわたって XAML (Extensible Application Markup Language) の基礎を学習していきます

More information

Carousel for WPF/Silverlight

Carousel for WPF/Silverlight 2018.04.10 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for / のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-5 手順 2: アプリケーションへのコンテンツの追加 5-8 手順 3: アプリケーションの実行 8 Carousel for / の使い方 9 C1CarouselPanel の使用 9-10 カルーセルのカスタマイズ

More information

目次 1 はじめに WPF とは データバインディング バインディングモード コンバータ コマンド コレクションのデータバインディング 依存関係プロパティ...

目次 1 はじめに WPF とは データバインディング バインディングモード コンバータ コマンド コレクションのデータバインディング 依存関係プロパティ... WPF 入門ノート 2017 年 3 月 12 日 (日) 小寺 広志 目次 1 はじめに... 1 2 WPF とは... 1 2.1. 3 4 5 データバインディング... 3 3.1. バインディングモード... 6 3.2. コンバータ... 7 3.3. コマンド... 10 3.4. コレクションのデータバインディング... 11 依存関係プロパティ... 12 4.1. 埋め込み...

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション 本セッションは 赤間さんのセッションで時間的な都合から紹介しきれなかった WPF と Silverlight の検証機能を解説し グレープシテゖが現在開発中の InputMan for WPF で提供する検証機能をご紹介するセッションです 本セッションはそれぞれの最新バージョンである WPF 3.5 SP1 と Silverlight 3 を前提にした内容となっています 2 検証の基本エラー表示の方法

More information

TileView for WPF/Silverlight

TileView for WPF/Silverlight 2018.02.20 更新 グレープシティ株式会社 目次 製品の概要 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-5 手順 2: コントロールのカスタマイズ 5-6 手順 3: アプリケーションの実行 6 TileView の使い方 7 TileViewItem の要素 7 TileViewItem の状態 7-8 列と行 8 最小化項目の位置 8 ドラッグアンドドロップ操作

More information

Visual Studio 2010 Ready Day ブレークアウトセッション概要

Visual Studio 2010 Ready Day ブレークアウトセッション概要 7 Windows デスクトップアプリケーションで従来と互換性を持つ UX を実現するテクノロジ Windows デスクトップアプリケーションで最高レベルの UX を実現するテクノロジ Web アプリケーションで UX を実現し クロスブラウザ環境で UX を実現するテクノロジ 3 4 5 6 New Windows Forms と ASP.NET で使用可能.NET Framework 4 で標準サポート.NET

More information

目次 はじめに... 3 システムの必要条件... 3 サンプルアプリケーションの作成... 3 手順 手順 手順 手順 手順 手順 終わりに... 23

目次 はじめに... 3 システムの必要条件... 3 サンプルアプリケーションの作成... 3 手順 手順 手順 手順 手順 手順 終わりに... 23 SharpShooter Reports.Silverlight 基本的な使い方 Last modified on: August 16, 2012 本ドキュメント内のスクリーンショットは英語表記ですが SharpShooter Reports JP( 日本語版 ) では日本語で表示されます 目次 はじめに... 3 システムの必要条件... 3 サンプルアプリケーションの作成... 3 手順 1...

More information

わさわさとWPF

わさわさとWPF わさわさと WPF ソースコードと要点で学ぶ WPF の活用 わさわさとは WPF を使用して開発された Wassr( 和製ミニブログ ) クラゕント WPF の表現によりデスクトップゕプリながら HTML に引けを取らない表示を実現 VS2008 のみで開発したためコントロールのデザン等は弄っていない 動作には Windows XP 以降が必要 http://hcm.wankuma.com/wasawasa.htm

More information

Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2

Abstract Kinect for Windows RGB Kinect for Windows v Kinect for Windows v2 Kinect 2014 9 19 IS Report No. 2014092901 Report Medical Information System Laboratory Abstract Kinect for Windows 2012 2 RGB Kinect for Windows v2 2014 7 Kinect for Windows v2 1............................

More information

Microsoft PowerPoint - hmoriya-REMIX2006-Print-New [互換モード]

Microsoft PowerPoint - hmoriya-REMIX2006-Print-New [互換モード] using System; using System.Windows; public class App { [STAThread] public static void Main() { Application app = new Application(); Window win = Window(); win.content = Hello WPF Code ; app.run(win); }

More information

グラフィックス 目次

グラフィックス 目次 WPF 入門 第 4 回 WPF の リソース スタイル テンプレート を習得しよう 前回説明した依存関係プロパティは ほかの要素の値に依存してプロパティの値を決定する機構 といえる WPF ではこの仕組みを基軸として リソース スタイル コントロール テンプレートなどの高度な機能を提供している 特に WPF の柔軟性を象徴する機能がコントロール テンプレートで この機能を用いることでコントロールの外観を自由自在にカスタマイズ可能となる

More information

sp2-2.indd

sp2-2.indd Windows Phone によるセンサプログラミング 基応専般 太田 寛 日本マイクロソフト ( 株 ) Windows Phone とセンサ Windows Mobile 5.x Windows Mobile 6.x Windows Phone Windows Mobile OS 2010 Windows Phone 7.0 Windows Phone 7.1 2011 9 Windows Mobile

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル WPF デザイナでの簡単な WPF アプリケーションの作成 此のチュートリアルでは WPF デザイナで簡単な WPF(Windows Presentation Foundation) アプリケーションを作成する方法を示す 此のチュートリアルでは下記のタスクを行う プロジェクトを作成する レイアウトを作成する レイアウトにコントロールを追加する レイアウト関連のプロパティを設定する

More information

Silverlight を使用したデータアプリケーション開発手順

Silverlight を使用したデータアプリケーション開発手順 マクロソフト株式会社デベロッパーエバンジェリスト小高太郎 ( こだかたろう ) taro.kodaka@microsoft.com http://blogs.msdn.com/tarok/ 2009 Microsoft Corporation. All rights reserved. 2009 Microsoft Corporation. All rights reserved. 2 ゕジェンダ

More information

OutlookBar for WPF/Silverlight

OutlookBar for WPF/Silverlight 2018.04.11 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for WPF/Silverlight のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-5 手順 2:C1OutlookItem の追加 5-6 手順 3: アプリケーションの実行 6 クイックリファレンス 7-8 C1OutlookBarの操作 9 OutlookBar

More information

WPF アプリケーションの 多言語切替

WPF アプリケーションの 多言語切替 パスワード認証 YK S o f t w a r e 2015 年 8 月 3 日 @twyujiro15 プロフィール 加藤裕次郎 本職は製造業の開発業務 - 2009 年 4 月に入社 1982.03.03 生まれ ( うお座 ) 左利き ( お箸は右 ) twitter : @twyujiro15 プログラミング経験 Excel VBA MATLAB MATX C VC++ (Windows

More information

untitled

untitled Visual Basic.NET 1 ... P.3 Visual Studio.NET... P.4 2-1 Visual Studio.NET... P.4 2-2... P.5 2-3... P.6 2-4 VS.NET(VB.NET)... P.9 2-5.NET... P.9 2-6 MSDN... P.11 Visual Basic.NET... P.12 3-1 Visual Basic.NET...

More information

DockControl for WPF/Silverlight

DockControl for WPF/Silverlight 2018.04.11 更新 グレープシティ株式会社 目次 製品の概要 2 ComponentOne for WPF/Silverlight のヘルプ 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-5 手順 2:C1DockTabItems を含む C1DockTabControl の追加 5-6 手順 3: アプリケーションの実行 6-7 クイックリファレンス 8-9

More information

YKToolkit.Controls 取扱説明書 Ver YKSoftware

YKToolkit.Controls 取扱説明書 Ver YKSoftware YKToolkit.Controls 取扱説明書 Ver.1..0 01 YKSoftware 目次 目次 1 はじめに... 1.1 目的... 1. 開発環境... 1. YKToolkit ファイル群... WPF の基本的な開発手順....1 MVVM パターンを意識した基本プロジェクト作成方法.... 簡単な UI の作成.... INotifyPropertyChanged インターフェースの自前実装と具体例....

More information

Microsoft PowerPoint - Windows Presentation Foundation (WPF) 3.5 の新機能

Microsoft PowerPoint - Windows Presentation Foundation (WPF) 3.5 の新機能 WPF 3.5 の新機能 川 裕幸 UX エバンジェリスト デベロッパー & プラットフォーム統括本部 マイクロソフト株式会社 WPF 3.5?.NET Framework 3.5 に含まれる WPF SP1 + 新しいアセンブリ (System.Core.dll など ) Linq は System.Core.dll に含まれる.NET Framework 3.0 SP1 に含まれる WPF Windows

More information

BarCode for WPF

BarCode for WPF 2018.04.10 更新 グレープシティ株式会社 目次 BarCode for WPF 2 はじめに 2 ComponentOne for WPF のヘルプ 2 主な特長 2 クイックスタート 2 手順 1: アプリケーションの設定 2-3 手順 2: コードの追加 3-5 手順 3: アプリケーションの実行 5-7 BarCode for WPF の使い方 7 サポートされるエンコーディング 7-9

More information

XAML Do-It-Yourself シリーズ 第 11 回 2D グラフゖックス -1-

XAML Do-It-Yourself シリーズ 第 11 回 2D グラフゖックス -1- XAML Do-It-Yourself シリーズ 第 11 回 2D グラフゖックス -1- XAML Do-It-Yourself 第 11 回 2D グラフゖックス XAML Do-It-Yourself 第 11 回は 2D グラフゖックスについて学習します XAML を使って作成する WPF ゕプリケーションでは 従来の Windows フォームゕプリケーションと 比較して 2D および 3D

More information

Android から Windows Phone へ 10 の基本タスク 英語版公開日 : 2011 年 10 月 5 日 ( 水 ) 10:09:24 AM Windows Phone Interoperability サイトは さまざまなスマートフォンプラットフォーム向けにアプリケーションを開発

Android から Windows Phone へ 10 の基本タスク 英語版公開日 : 2011 年 10 月 5 日 ( 水 ) 10:09:24 AM Windows Phone Interoperability サイトは さまざまなスマートフォンプラットフォーム向けにアプリケーションを開発 英語版公開日 : 2011 年 10 月 5 日 ( 水 ) 10:09:24 AM Windows Phone Interoperability サイトは さまざまなスマートフォンプラットフォーム向けにアプリケーションを開発してきた皆様が Windows Phone プラットフォームでの開発をスムーズに始めることができるようにサポートすることを目的に運営しています この文書は 原文 : Android

More information

ExtendedLibrary for WPF/Silverlight

ExtendedLibrary for WPF/Silverlight Extended Library for WPF/Silverlight 2018.04.25 更新 グレープシティ株式会社 目次 製品の概要 9-10 ComponentOne for WPF/Silverlight のヘルプ 10 Accordion 11 操作 11 主な特長 11 XAML クイックリファレンス 11-12 Accordion for WPF クイックスタート 12 手順 1:

More information

BarCode for UWP

BarCode for UWP 2018.03.06 更新 グレープシティ株式会社 目次 BarCode for UWP 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの設定 4-5 手順 2: コードの追加 5-7 手順 3: アプリケーションの実行 7-9 C1BarCode の使い方 10 サポートされるエンコーディング 10-12 コントロールのカスタマイズ 12-13 1 Copyright GrapeCity

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル Windows フォームでの WPF 複合コントロールのホスト Windows Presentation Foundation(WPF) は アプリケーションの作成に適した環境を提供する 但し Windows フォームのコードに多大な手間と時間を懸けた場合は コードを最初から記述し直すよりも 既存の Windows フォームアプリケーションを WPF で拡張する方が効率的と成る事も有る

More information

Scheduler for UWP

Scheduler for UWP 2017.01.24 作成 グレープシティ株式会社 目次 Scheduler for UWP 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの設定 4-5 手順 2: ボタンの追加 5-6 手順 3: コードの追加 6-7 手順 4: アプリケーションの実行 7-10 C1Scheduler の使い方 11 予定 11-14 予定の編集 14 [ 予定の編集 ] ダイアログのカスタマイズ

More information

Excel for UWP

Excel for UWP 2018.03.07 更新 グレープシティ株式会社 目次 2 主な特長 3 クイックスタート 4 手順 1: プロジェクトの設定 4 手順 2:C1XLBook へのコンテンツの追加 4-5 手順 3:XLSX ファイルの保存 5-6 手順 4: プログラムの実行 6-7 C1Excel の使い方 8 ドキュメントの作成 8 ワークシート 8-9 行と列 9 セル 9-10 スタイル 10 タスク別ヘルプ

More information

xslt #xslt

xslt #xslt xslt #xslt 1 1: xslt 2 2 2 Examples 2 2 XSLT 3 2: xslt 7 Examples 7 XSLT 7 8 You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: xslt It is an unofficial

More information

Prog2_12th

Prog2_12th 2018 年 12 月 13 日 ( 木 ) 実施クラスの継承オブジェクト指向プログラミングの基本的な属性として, 親クラスのメンバを再利用, 拡張, または変更する子クラスを定義することが出来る メンバの再利用を継承と呼び, 継承元となるクラスを基底クラスと呼ぶ また, 基底クラスのメンバを継承するクラスを, 派生クラスと呼ぶ なお, メンバの中でコンストラクタは継承されない C# 言語では,Java

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル WPF での Windows フォーム複合コントロールのホスト Windows Presentation Foundation(WPF) は アプリケーションの作成に適した環境を提供する 但し Windows フォームのコードに多くの投資を行った場合は コードを最初から記述し直すよりも WPF アプリケーションのコードの少なくとも一部を再利用する方が効率的で有る 最も一般的なシナリオは

More information

WPF/Silverlightのスタイルやアニメーション

WPF/Silverlightのスタイルやアニメーション WPF/Silverlight でのスタイルやアニメーション 池原大然 インフラジスティックス ジャパン 自己紹介 池原大然 ( いけはらだいぜん ) or ねり インフラジスティックス ジャパン所属 Silverlight, WPF が大好きです http://blogs.jp.infragistics.com/blogs/dikehara/ はじめに 今回は Silverlight 3 を中心としたスタイル

More information

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac

Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN

More information

LogisticaTRUCKServer-Ⅱ距離計算サーバ/Active-Xコントロール/クライアント 概略   

LogisticaTRUCKServer-Ⅱ距離計算サーバ/Active-Xコントロール/クライアント 概略       - LogisticaTRUCKServer-Ⅱ(SQLServer 版 ) 距離計算サーハ API.NET DLL WindowsForm サンフ ルフ ロク ラム - 1 - LogisticaTRUCKServer-Ⅱ 距離計算サーハ.NET DLL WindowsForm VisualBasic での利用方法 LogisticaTRUCKServer-Ⅱ 距離計算.NET DLLのサンプルプログラムの参照サンフ

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル を使用したボタンの作成 此のチュートリアルでは Windows Presentation Foundation(WPF) アプリケーションで使用するアニメーションボタンの作成方法に付いて説明する 此のチュートリアルでは カスタマイズされたボタンリソースを作成するのにスタイルとテンプレートを使用する 此れに依り コードを再利用したり ボタンロジックをボタン宣言から分離したり出来る様に成る

More information

Gauges for WPF/Silverlight

Gauges for WPF/Silverlight 2018.04.11 更新 グレープシティ株式会社 目次 製品の概要 3 主な特長 4 Gauges for WPF クイックスタート 5 手順 1: アプリケーションの設定 5-6 手順 2: コードの追加 6-7 手順 3: アプリケーションの実行 7-9 Gauges for Silverlight クイックスタート 10 手順 1: アプリケーションの作成 10-11 手順 2: コントロールの追加

More information

pthreads #pthreads

pthreads #pthreads pthreads #pthreads 1 1: pthreads 2 2 Examples 2 2 pthreads "Hello World" 2 2 3 2: pthreads 5 5 Examples 5 2T1T2 5 3: 8 8 8 Examples 9 / 9 11 You can share this PDF with anyone you feel could benefit from

More information

LogisticaTRUCKServer-Ⅱ距離計算サーバ/Active-Xコントロール/クライアント 概略   

LogisticaTRUCKServer-Ⅱ距離計算サーバ/Active-Xコントロール/クライアント 概略       - LogisticaTRUCKServer-Ⅱ(SQLServer 版 ) 距離計算サーハ API.NET DLL WebForms ASP.NET サンフ ルフ ロク ラム - 1 - LogisticaTRUCKServer-Ⅱ 距離計算サーハ.NET DLL WebForm ASP.NET VisualBasic での利用方法 LogisticaTRUCKServer-Ⅱ 距離計算.NET

More information

C#の基本

C#の基本 C# の基本 ~ 開発環境の使い方 ~ C# とは プログラミング言語のひとつであり C C++ Java 等に並ぶ代表的な言語の一つである 容易に GUI( グラフィックやボタンとの連携ができる ) プログラミングが可能である メモリ管理等の煩雑な操作が必要なく 比較的初心者向きの言語である C# の利点 C C++ に比べて メモリ管理が必要ない GUIが作りやすい Javaに比べて コードの制限が少ない

More information

XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1-

XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1- XAML Do-It-Yourself シリーズ 第 8 回ゕニメーション -1- XAML Do-It-Yourself 第 8 回ゕニメーション XAML Do-It-Yourself 第 8 回は ゕニメーションについて学習します XAML (WPF) が提供するゕニメ ーション機能は 時間の経過と共に コントロールのプロパテゖを変化させる機能です コントロールに 含まれるほとんどのプロパテゖに対して

More information

Extended Library for UWP

Extended Library for UWP 2018.04.10 更新 グレープシティ株式会社 目次 Extended Library for UWP 3 Book for UWP 3 主な特長 3 XAML クイックリファレンス 3 クイックスタート 4 手順 1:Book アプリケーションの作成 4 手順 2:Book コントロールへのコンテンツの追加 4-8 手順 3: アプリケーションへのファイルの追加 8-10 手順 4:Book

More information

HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Stu

HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Stu HOW DO I WebBrowser コントロールで HTML5 を 使用するには ここでは以下の手順で説明します Video 要素を使用する Silverlight と JavaScript の間でやり取りする Canvas 要素を使用する Video 要素を使用する 1. Visual Studio で "Windows Phone ゕプリケーション " プロジェクトテンプレートを使って "HTML5BrowserFeatures"

More information

INFRAGISTICS WPF 18.1 サービスリリースノート 2019 年 4 月 Infragistics WPF で実現する高度な BI ときれいなデスクトップ UI Infragistics WPF コントロールは 広範な機能を提供し 最小限の開発工数でアプリケーションの作成を可能にしま

INFRAGISTICS WPF 18.1 サービスリリースノート 2019 年 4 月 Infragistics WPF で実現する高度な BI ときれいなデスクトップ UI Infragistics WPF コントロールは 広範な機能を提供し 最小限の開発工数でアプリケーションの作成を可能にしま WPF 18.1 サービスリリースノート 2019 年 4 月 Infragistics WPF で実現する高度な BI ときれいなデスクトップ UI Infragistics WPF コントロールは 広範な機能を提供し 最小限の開発工数でアプリケーションの作成を可能にします 高速パフォーマンスなジェスチャ ー / タッチサポート 動的なテーマなど 便利な機能をすぐにアプリケーションに追加できます

More information

わんくま同盟 大阪勉強会 #1

わんくま同盟 大阪勉強会 #1 えムナウ ( 児玉宏之 ) アジェンダ Windows Presentation Foundation アーキテクチャ アニメーション フロードキュメント リソースとスタイルとテンプレート イベントとキーとコマンド WPF WPF(Windows Presentation Foundation).NET Framework 3.0 で提供される新たなフレームワーク UI 2D および 3D オブジェクトの描画

More information

ファイルを直接編集する画面を切り替えることができる. 図 3 標準のレイアウトを削除する (2) グラフィカル レイアウト画面で LinearLayout(Vertical) を追加するパレットウィンドウの レイアウト の中にある LinearLayout(Vertical) をドラッグして, 編集

ファイルを直接編集する画面を切り替えることができる. 図 3 標準のレイアウトを削除する (2) グラフィカル レイアウト画面で LinearLayout(Vertical) を追加するパレットウィンドウの レイアウト の中にある LinearLayout(Vertical) をドラッグして, 編集 BMI 計算アプリ身長と体重をユーザが入力し, その値を計算して,BMI 値を表示するアプリケーションを作る. 1. プロジェクトを作る新規 Android アプリケーション プロジェクトを作る.HelloWorld アプリケーションをつくるときと同じで良いが, アプリケーション名, プロジェクト名, パッケージ名は以下のように設定する. 図 1 新規アプリケーションの設定をする 2. レイアウトを設定する

More information

MVP for VB が語る C# 入門

MVP for VB が語る C# 入門 MVP for VB が語る C# 入門 2008.08.09 初音玲 自己紹介 Z80 アセンブラ 6809 アセンブラ F-BASIC N88-BASIC FORTRAN 77 COBOL LISP Turbo Pascal Prolog KABA C 言語 M シリーズ アセンブラ PL/I VB3.0~ PL/SQL T-SQL VB2005/2008 index Microsoft Visual

More information

Windows Phone アプリケーション開発 設定タイルアプリケーションの作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部監修

Windows Phone アプリケーション開発 設定タイルアプリケーションの作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部監修 Windows Phone アプリケーション開発 設定タイルアプリケーションの作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部監修 内容 設定タイルアプリケーションの作成... 1 プロジェクトの作成と準備... 3 タイトルと背景の作成... 4 画面の作成... 4 ボタンテンプレートの設定... 5 ボタンを押した時の挙動を定義する... 7 タイル作成処理の実装...

More information

グラフィックス 目次

グラフィックス 目次 WPF チュートリアル Microsoft Expression Blend を使用してボタンを作成する 此のチュートリアルでは WPF のカスタマイズされたボタンを Microsoft Expression Blend を使用して作成する手順に付いて説明する Microsoft Expression Blend の具体的な動作は Extensible Application Markup Language(XAML)

More information

目次 はじめに... 3 システムの必要条件... 4 ライセンス認証... 4 アクティベーション... 6 開発... 7 手順 1. アプリケーションの作成... 7 手順 2. データソースの作成と代入... 7 手順 3. テンプレートの作成 手順 4. レポートビューアの追加

目次 はじめに... 3 システムの必要条件... 4 ライセンス認証... 4 アクティベーション... 6 開発... 7 手順 1. アプリケーションの作成... 7 手順 2. データソースの作成と代入... 7 手順 3. テンプレートの作成 手順 4. レポートビューアの追加 SharpShooter Reports.Win 基本的な使い方 Last modified on: November 15, 2012 本ドキュメント内のスクリーンショットは英語表記ですが SharpShooter Reports JP( 日本語版 ) では日本語で表示されま す 目次 はじめに... 3 システムの必要条件... 4 ライセンス認証... 4 アクティベーション... 6 開発...

More information

OrgChart for WPF/Silverlight

OrgChart for WPF/Silverlight 2018.04.11 更新 グレープシティ株式会社 目次 目次 1 製品の概要 2 主な特長 3 クイックスタート 4 手順 1: アプリケーションの作成 4-7 手順 2: コントロールへのコンテンツの追加 7-12 手順 3: アプリケーションの実行 12-13 OrgChart for WPFの使い方 14 OrgChart の要素 14 C1OrgChart のコアプロパティ 14-15 C1OrgChart

More information

オプション ボタンまたはチェック ボックスを 持 つリスト ボックス (ListBox) コントロールを 作 成 する 1. プロパティ ウィンドウで ListStyle プロパティを 選 択 します 2. 右 側 の 下 向 き 矢 印 をクリックして 選 択 可 能 なスタイルの 一 覧 を 表

オプション ボタンまたはチェック ボックスを 持 つリスト ボックス (ListBox) コントロールを 作 成 する 1. プロパティ ウィンドウで ListStyle プロパティを 選 択 します 2. 右 側 の 下 向 き 矢 印 をクリックして 選 択 可 能 なスタイルの 一 覧 を 表 テキスト ボックス (TextBox) コントロール 利 用 上 のヒント テキスト ボックス (TextBox ) コントロールは Text MultiLine WordWrap および AutoSize の 4 つのプロ パティにより 制 御 される 柔 軟 性 の 高 いコントロールです Text プロパティには テキスト ボックス (TextBox ) コントロールに 表 示 する 文 字

More information

ProVisionaire Control V3.0セットアップガイド

ProVisionaire Control V3.0セットアップガイド ProVisionaire Control V3 1 Manual Development Group 2018 Yamaha Corporation JA 2 3 4 5 NOTE 6 7 8 9 q w e r t r t y u y q w u e 10 3. NOTE 1. 2. 11 4. NOTE 5. Tips 12 2. 1. 13 3. 4. Tips 14 5. 1. 2. 3.

More information

HTTP 404 への対処

HTTP 404 への対処 Sitecore CMS 6 HTTP 404 への対処 Rev: 2010-12-10 Sitecore CMS 6 HTTP 404 への対処 Sitecore を使用して HTTP 404 Page Not Found 状態に対処するための開発者向けガイド 目次 Chapter 1 イントロダクション... 3 Chapter 2 HTTP 404 Page Not Found 状態... 4

More information

Web フォームアプリケーション開発基礎

Web フォームアプリケーション開発基礎 エラーチェック ( バリデーション ) の体系的な考え方と実装パターンについて マイクロソフト株式会社コンサルティングサービス統括本部プリンシパルコンサルタント赤間信幸 (http://blogs.msdn.com/nakama/) 2009 Microsoft Corporation. All rights reserved. 本書の全部または一部の無断転載を禁じます ver.0.01 業務アプリケーションの分類

More information

intra-mart Accel Platform — IM-Repository拡張プログラミングガイド   初版  

intra-mart Accel Platform — IM-Repository拡張プログラミングガイド   初版   Copyright 2018 NTT DATA INTRAMART CORPORATION 1 Top 目次 1. 改訂情報 2. はじめに 2.1. 本書の目的 2.2. 対象読者 2.3. サンプルコードについて 2.4. 本書の構成 3. 辞書項目 API 3.1. 最新バージョン 3.1.1. 最新バージョンの辞書を取得する 3.2. 辞書項目 3.2.1. 辞書項目を取得する 3.2.2.

More information

Visual Studio と.NET Framework 概要 Runtime Libraries Languag es Tool.NET Visual Studio 概要 http://download.microsoft.com/download/c/7/1/c710b336-1979-4522-921b-590edf63426b/vs2010_guidebook_pdf.zip 1.

More information

Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0

Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0 Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0 ... 1... 2... 3... 5... 6... 6... 9... 9 Vector... 10 Struts... 12... 14 cart.jsp 1... 15 cart.jsp 2... 17 JSP...

More information

,,,,., C Java,,.,,.,., ,,.,, i

,,,,., C Java,,.,,.,., ,,.,, i 24 Development of the programming s learning tool for children be derived from maze 1130353 2013 3 1 ,,,,., C Java,,.,,.,., 1 6 1 2.,,.,, i Abstract Development of the programming s learning tool for children

More information

Userコントロール

Userコントロール User コントロール 初めてのユーザーコントロールの作成 作成したクラスは他のプログラムで再利用出来る為 同じコードを何度も繰り返し作成する必要が無い コントロールも 複数のプロジェクトで再利用出来るクラスで有る 同じユーザーインターフェイスを何度も繰り返してデザインすると謂う経験は 恐らく誰でも有る 例えば 姓と名を入力する為の TextBox コントロールを追加した後で 両方を組み合わせてフルネームを作成するコードを追加する等の作業で有る

More information

スライド 1

スライド 1 R 流 Visual Studio 2008 C# の 驚異的な生産性を知る 2008 年 03 月 29 日 R 田中一郎 http://blogs.wankuma.com/rti/ Microsoft MVP for Development Tools - Visual C# アジェンダ はじめに コード比較 新機能の紹介 新機能の応用 まとめ はじめに つい先日発売した Visual Studio

More information

PDFViewer for WPF/Silverlight

PDFViewer for WPF/Silverlight 2018.02.20 更新 グレープシティ株式会社 目次 PdfViewer for WPF/Silverlightの概要 2 はじめに 2 PdfViewer の制限 2 主な特長 2-3 クイックスタート 3-4 手順 1: アプリケーションの設定 4 手順 2: ページへのコンテンツの追加 4-6 手順 3: C1PdfViewer アプリケーションの実行 6-7 PdfViewer の要素

More information

ICONファイルフォーマット

ICONファイルフォーマット グラフィックス 画像フォーマットエンコーダパラメータ 様々なフォーマットで画像を保存 Bitmap クラスを用いる事でビットマップ JPEG GIF PNG 等様々なフォーマットの画像を読み込み操作する事が出来る 更に Bitmap クラスや Graphics コンテナを用いて描画処理等を施したイメージをファイルに保存する事も出来る 此の時 読み込めるフォーマット同様に保存するフォーマットを選択する事が出来る

More information

Visual Studio Do-It-Yourself シリーズ 第 1 回 Windows ゕプリケーション開発の概要 -1-

Visual Studio Do-It-Yourself シリーズ 第 1 回 Windows ゕプリケーション開発の概要 -1- Visual Studio Do-It-Yourself シリーズ 第 1 回 Windows ゕプリケーション開発の概要 -1- Visual Studio Do-It-Yourself 第 1 回 Windows ゕプリケーション開発の概要 はじめに - Visual Studio Do-It-Yourself について 本 Visual Studio Do-It-Yourself シリーズでは

More information

Using the Excel Exporter

Using the Excel Exporter Excel のエクスポーターを使用する 目次 1 Download the Required Modules from the Mendix App Store Mendix App Store から必須モジュールをダウンロードする... 3 1.1 Download the MxModelReflection Module MxModelReflection モジュールをダウンロードする... 3

More information

TOEIC

TOEIC TOEIC 1 1 3 1.1.............................................. 3 1.2 C#........................................... 3 2 Visual Studio.NET Windows 5 2.1....................................... 5 2.2..........................................

More information

MISAO with WPF

MISAO with WPF MISAO with WPF JZ5 2009/2/7 自己紹介 JZ5( 松江祐輔 ) プログラマーですか? 違います Verilog 書いてます @jz5 Twitter katamari.jp katamari.wankuma.com Agenda ニコニコメソッド & Katamari.MISAO WPF プログラミング What s ニコニコメソッド 2007/4/25 ニコニコ動画勉強会

More information

Prog2_10th

Prog2_10th 2016 年 12 月 8 日 ( 木 ) 実施 効果音の付加 SoundPool とは Android には音を処理するクラスが複数用意されているが, その中で SoundPool は, 予め音のデータをメモリ上に読み込んで再生するため, 長い音楽よりも短い音を扱うのに適している また,SoundPool では遅延が無いので, 効果音を付加したい場面で用いられる 授業の準備 1)Android Studio

More information

DateTimeEditors for WPF/Silverlight

DateTimeEditors for WPF/Silverlight DateTimeEditors for WPF/Silverlight 2018.02.20 更新 グレープシティ株式会社 目次 製品の概要 4 ComponentOne Studio for WPF/Silverlight のヘルプ 4 主な特長 4 クイックリファレンス 4 テンプレート (Silverlightのみ) 4-5 C1DateTimePicker コントロール 6 C1DateTimePicker

More information

ÇPÇRèÕÉIÉuÉWÉFÉNÉgéwå¸ã@î\.pdf

ÇPÇRèÕÉIÉuÉWÉFÉNÉgéwå¸ã@î\.pdf COPYRIGHT 200 COBOL CLASS-ID.. FACTORY. METHOD-ID.. OBJECT. METHOD-ID.. COPYRIGHT 200 COBOL 2 COPYRIGHT 200 COBOL 3 COPYRIGHT 200 COBOL 4 COPYRIGHT 200 COBOL 5 COPYRIGHT 200 COBOL 6 COPYRIGHT 200 COBOL

More information

Prog2_10th

Prog2_10th 2017 年 12 月 7 日 ( 木 ) 実施 効果音の付加 SoundPool とは Android には音を処理するクラスが複数用意されているが, その中で SoundPool は, 予め音のデータをメモリ上に読み込んで再生するため, 長い音楽よりも短い音を扱うのに適している また,SoundPool では遅延が無いので, 効果音を付加したい場面で用いられる 授業の準備 1)Android Studio

More information

展開とプロビジョニングの概念

展開とプロビジョニングの概念 ADOBE CREATIVE SUITE 5 2010 Adobe Systems Incorporated and its licensors. All rights reserved. Adobe Creative Suite Deployment and Provisioning Concepts This guide is licensed for use under the terms of

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション Windows Phone 7.5 プログラミング入門 2011/12/25 佐野 尚之 1 本ドキュメントのライセンスについて この作品は クリエイティブ コモンズのAttribution 3.0 Unportedライセンスの下でライ センスされています この使用許諾条件を見るには http://creativecommons.org/licenses/by/3.0/をチェック するか クリエイティブ

More information

Windows Phone アプリケーション開発 DailyCalendar の作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部作成

Windows Phone アプリケーション開発 DailyCalendar の作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部作成 Windows Phone アプリケーション開発 DailyCalendar の作成 日本マイクロソフト株式会社 デベロッパー & プラットフォーム統括本部作成 内容 DailyCalendar の作成... 1 プロジェクトの作成と準備... 3 タイトルと背景の作成... 4 画面の作成... 4 タイル画面の設定... 5 コンストラクタの設定... 8 タイル作成補助機能の実装... 8 タイル更新機能の呼び出し...

More information

Basic Library for UWP

Basic Library for UWP 2018.04.10 更新 グレープシティ株式会社 目次 7 CollectionView for UWP 7-8 主な特長 8 C1CollectionView の使い方 8-9 C1CollectionView と CollectionViewSource 9-10 コントロールをソートする 10-11 コントロールのフィルタ処理 11-12 コントロールのグループ化 12-13 カスタムグループ化

More information

Microsoft Word - Win-Outlook.docx

Microsoft Word - Win-Outlook.docx Microsoft Office Outlook での設定方法 (IMAP および POP 編 ) How to set up with Microsoft Office Outlook (IMAP and POP) 0. 事前に https://office365.iii.kyushu-u.ac.jp/login からサインインし 以下の手順で自分の基本アドレスをメモしておいてください Sign

More information

ListViewコントロール

ListViewコントロール ListView コントロール ListView コントロールへ項目を追加 本稿では.NET Framework の標準コントロールで有る ListView コントロール (System.Windows.Forms 名前空間 ) を活用する為に ListView コントロールにデータを追加する方法を紹介する ListView コントロールは データ項目をアイコン表示や詳細表示等に依り一覧表示する為の物で

More information

Server Backup Manager 5.0 Debian および Ubuntu システムへの Server Backup Free のインストール 1. APT-GET をしてServer Backup Free をインストールする 2. Server Backup Free のインストール

Server Backup Manager 5.0 Debian および Ubuntu システムへの Server Backup Free のインストール 1. APT-GET をしてServer Backup Free をインストールする 2. Server Backup Free のインストール Debian および Ubuntu システムへの Server Backup Free のインストール 1. APT-GET をしてServer Backup Free をインストールする 2. Server Backup Free のインストール (DPKG でのインストール ) 3. Server Backup のWeb ベースユーザーインターフェイスをしてする 4. Linux Server

More information

Microsoft PowerPoint ppt

Microsoft PowerPoint ppt 独習 Java ( 第 3 版 ) 6.7 変数の修飾子 6.8 コンストラクタの修飾子 6.9 メソッドの修飾子 6.10 Object クラスと Class クラス 6.7 変数の修飾子 (1/3) 変数宣言の直前に指定できる修飾子 全部で 7 種類ある キーワード final private protected public static transient volatile 意味定数として使える変数同じクラスのコードからしかアクセスできない変数サブクラスまたは同じパッケージ内のコードからしかアクセスできない変数他のクラスからアクセスできる変数インスタンス変数ではない変数クラスの永続的な状態の一部ではない変数不意に値が変更されることがある変数

More information