Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
public
Form1()
{
InitializeComponent();
radPropertyGrid1.PropertySort = PropertySort.Categorized;
radPropertyGrid1.SelectedObject =
new
Item(1234,
"Custom title"
,
"Description"
, 9834657);
radPropertyGrid1.ItemFormatting += radPropertyGrid1_ItemFormatting;
radPropertyGrid1.PropertyGridElement.PropertyTableElement.ItemHeight = 50;
}
private
void
radPropertyGrid1_ItemFormatting(
object
sender, PropertyGridItemFormattingEventArgs e)
PropertyGridItemElement item = e.VisualElement
as
PropertyGridItemElement;
if
(item !=
null
&& e.Item.Name==
"Photo"
)
item.ValueElement.DrawText =
false
;
item.ValueElement.Image = Properties.Resources.AndrewFuller;
item.ValueElement.ImageLayout = ImageLayout.Zoom;
class
Item
[Category(
"Category1"
)]
int
Id {
get
set
; }
"Category2"
string
Title {
Description {
BarCode {
Image Photo {
Item(
id,
title,
description,
barCode)
this
.Id = id;
.Title = title;
.Description = description;
.BarCode = barCode;
.Photo=Properties.Resources.AndrewFuller;
Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.