かずきのBlog

C#やJavaやRubyとメモ書き

目次

Blog 利用状況

ニュース

わんくまBlogが不安定になったため、前に書いてたはてなダイアリーにメインを移動します。
かずきのBlog@Hatena
技術的なネタは、こちらにも、はてなへのリンクという形で掲載しますが、雑多ネタははてなダイアリーだけに掲載することが多いと思います。
コメント
プログラマ的自己紹介
お気に入りのツール/IDE
プロフィール
経歴
広告
アクセサリ

書庫

日記カテゴリ

[Silverlight]DataGridに表示されてるデータの件数

Silverlight2のDataGridには、表示されてるデータの件数を取得するメソッドがない。
無いものはしょうがないので、どうにかして件数を取得しないといけない。

一番確実なのは、ItemsSourceに設定してるもとのListや配列から件数を取得する方法。
もう1つはItemsSourceをキャストしてIEnumerableやListとかにしてから件数を取得する方法。

ほかに何かいい方法があったりするのだろうか?

投稿日時 : 2008年12月2日 21:59

Feedback

# re: [Silverlight]DataGridに表示されてるデータの件数 2008/12/03 2:09 art55

Silverlight2に関してほとんどノータッチなんですが
DataGridには、表示されてるデータの件数を取得するメソッドがないのは驚きです!

# re: [Silverlight]DataGridに表示されてるデータの件数 2008/12/03 20:43 かずき

> art55さん
なかなか驚くものいっぱいですよ(笑)
使う前には、きちんと把握しておいたほうが吉です。

# welded ball valve 2012/10/18 23:28 http://www.jonloovalve.com/Full-welded-ball-valve-

I believe this web site contains some really good info for everyone :D. "Nothing great was ever achieved without enthusiasm." by Ralph Waldo Emerson.

# ugg sale 2012/10/19 13:57 http://www.superbootonline.com

I was studying some of your articles on this website and I believe this site is real informative! Keep on posting.

# Cheap Air Jordan 2012 Retro 2012/12/07 22:38 http://suparjordanshoes.webs.com/

I truly enjoy examining on this internet site, it contains wonderful articles. "One should die proudly when it is no longer possible to live proudly." by Friedrich Wilhelm Nietzsche.

# longchamps cuir 2012/12/14 20:42 http://www.saclongchampachete.info/category/longch

i recommend you with your great articles and other content and exceptional topic products.

# burberry uk 2012/12/15 22:55 http://www.burberryuksale.org/category/burberry-ou

I usage earbuds out of the house because with their portability, even though I favor over any ear.

# burberry uk 2012/12/17 2:48 http://www.burberryuksale.org

Go throughout these old items and just look for your personal that tickle the fancy.

# sacs longchamp france 2012/12/17 20:19 http://www.sacslongchamp2012.info/pliage-longchamp

Its occasion are for that reason fantastic in addition to working type so brief.

# sacslongchampsolde.monwebeden.fr 2012/12/18 2:06 http://sacslongchampsolde.monwebeden.fr

keep up the good job!

# burberry outlet 2012/12/18 14:36 http://www.ukburberryoutlet.info/category/burberry

Our admins contain a sharp eye and in many cases sharper sensibilities - in addition to our Top Comments area enjoys a superb read. Come play with us!

# longchamp pliage 2012/12/21 2:29 http://sacslongchamppliage.monwebeden.fr

Looking front to looking at more!

# destockchine site 2013/01/10 9:19 http://www.destockchinefr.fr/

True love, association, esteem, try not to merge people over a wide-spread hatred when it comes to factor.
destockchine site http://www.destockchinefr.fr/

タイトル
名前
Url
コメント