Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI for UI
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:GridViewImageColumn
DataMemberBinding
=
"{Binding OrijinalImage,Converter={StaticResource imgConverter}}"
Header
"Resim"
ImageHeight
"100"
ImageWidth
/>
public
class
ImageConverter : IValueConverter
{
object
IValueConverter.Convert(
value,
Type targetType,
parameter,
System.Globalization.CultureInfo culture)
if
(value !=
null
)
Binary bin = value
as
Binary;
byte
[] bytes = bin.ToArray();
MemoryStream stream =
new
MemoryStream(bytes);
BitmapImage image =
BitmapImage();
image.BeginInit();
image.StreamSource = stream;
image.EndInit();
return
image;
}
;
IValueConverter.ConvertBack(
BitmapImage bitmapImage = value
BitmapImage;
MemoryStream();
[] bytes =
Binary bin =
bitmapImage.StreamSource.Read(bytes, 0, (
int
)bitmapImage.StreamSource.Length);
bin =
Binary(bytes);
bin;