Hi everyone,
Currently testing MAUI Controls and wondering if I can create a custom midel class for MAUI Scheduler Appointments?
I mean, if I want to add extra data like an appoitment perdonalized guid string or something like that.
Thanks for your help.
I'm using the .net Maui RadDataGrid.
In my case the user needs to color code several cells inside of the grid. The user will select a color then click on the cell. I need to be able to change the color of that cell. How do find that cell and change the color at runtime? One cell will be changed to red, then the next one could be blue.
Hi,
Are there any plans to make Linear Gauge available as a chart type in the MAUI controls?
Thanks,
Euan
I am toying around with the Chat UI and trying some different things out to see how they work, and to figure out what to use in production..
When using an ItemConverter, it seems to work great in instances where one input item results in one TextMessage, but what about in situations where one item may require 2 outputs? Can this be handled with an ItemConverter? (Its media attachments to a message)
public class MessageChatItemConverter : IChatItemConverter
{
public ChatItem ConvertToChatItem(object dataItem, ChatItemConverterContext context)
{
Message message = (Message)dataItem;
if (message.IsMMS.HasValue && message.IsMMS.Value == true)
{
var newMediaMessage = new ImageMessage()
{
ImageSource = null,
Author = message.IsInbound.HasValue && message.IsInbound.Value ? message.Conversation?.ContactAuthor : message.Conversation?.MtiAuthor,
Text = string.Empty,
Data = message,
};
if (message.Media?.Count > 1)
{
Utilities.MainThreadMessage("Warning", $"Multiple media messages are not supported: {message.MessageID} ({message.Media.Count})");
}
else if (message.Media?.Count == 0)
{
Utilities.MainThreadMessage("Warning", $"No media loaded: {message.MessageID}");
}
else
{
byte[]? imageBytes = message.Media?[0]?.ImageBytes;
if (imageBytes == null)
{
Utilities.MainThreadMessage("Warning", $"No image bytes loaded: {message.MessageID}");
}
else
{
newMediaMessage.ImageSource = ImageSource.FromStream(() => new MemoryStream(imageBytes));
}
}
return newMediaMessage;
}
TextMessage textMessage = new TextMessage()
{
Data = message,
Text = (message.IsMMS.HasValue && message.IsMMS.Value == true) ? "<Media Message>" : string.IsNullOrEmpty(message.Body) ? "<No Message>" : message.Body,
Author = message.IsInbound.HasValue && message.IsInbound.Value ? message.Conversation?.ContactAuthor : message.Conversation?.MtiAuthor,
};
return textMessage;
}
Added a RadCollectionView to an app and it's causing crashes on iOS devices (but not the simulator) whenever data is loading or finished loading. Near as I can tell, the crash is occurring because of XAML binding failures. I've attached a sample project which shows the failures (you might have to scroll the collectionview to see them). The data still appears, though.
The actual app has a retrieve button on the screen that the user taps after entering some retrieval arguments. I can see data being populated in the RadCollectionView followed by an immediate crash on the physical device.
Good morning,
Is it possible to always default to the Time selection when the picker is opened instead of the date?
When I first open the picker it looks like this:
If I switch to the Time selection and close out of the same picker and open it again it's on the Time selection:
I would like for the picker to always open on the time selection, thank you!