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.
Telerik
Build great .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
Testing & Mocking
Debugging
Build JavaScript UI
Javascript
AI for Developers & IT
Ensure AI program success
AI Coding
Additional Tools
Enhance the developer and designer experience
UI/UX Tools
Free Tools
CMS
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;