Commit 1280ef98 authored by atraczyk's avatar atraczyk Committed by Andreas Traczyk

xaml: move all xaml bind converters to their own files

Change-Id: I13e81ffaf94e7e2d7f2032c71d0f772272963837
Reviewed-by: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent d78f721e
......@@ -21,45 +21,46 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:RingClientUWP"
xmlns:views="using:RingClientUWP.Views"
xmlns:cnv="using:RingClientUWP.Converters"
xmlns:uc="using:RingClientUWP.UserAndCustomControls">
<Application.Resources>
<ResourceDictionary>
<!-- converters -->
<views:BubbleBackground x:Key="_bubbleBackground_" />
<views:BubbleHorizontalAlignement x:Key="_bubbleHorizontalAlignement_" />
<views:boolToVisibility x:Key="_boolToVisibility_" />
<views:MessageDateTimeString x:Key="_MessageDateTimeString_" />
<views:MessageChainBreakToVisibility x:Key="_MessageChainBreakToVisibility_" />
<views:MessageChainBreakToHeight x:Key="_MessageChainBreakToHeight_" />
<views:CachedImageConverter x:Key="_CachedImageConverter_" />
<views:NameToInitialConverter x:Key="_NameToInitialConverter_" />
<views:NewMessageBubbleNotification x:Key="_NewMessageBubbleNotification_" />
<views:NewMessageNotificationToNumber x:Key="_NewMessageNotificationToNumber_" />
<views:IncomingVisibility x:Key="_IncomingVisibility_" />
<views:OutGoingVisibility x:Key="_OutGoingVisibility_" />
<views:HasAnActiveCall x:Key="_HasAnActiveCall_" />
<views:HasAvatarToVisibility x:Key="_HasAvatarToVisibility_" />
<views:AccountTypeToSourceImage x:Key="_AccountTypeToSourceImage_" />
<views:RingAccountTypeToVisibility x:Key="_RingAccountTypeToVisibility_" />
<views:AccountSelectedToVisibility x:Key="_AccountSelectedToVisibility_" />
<views:CollapseEmptyString x:Key="_CollapseEmptyString_" />
<views:ContactStatusNotification x:Key="_ContactStatusNotification_" />
<views:uintToVisibility x:Key="_uintToVisibility_" />
<views:OneToVisibility x:Key="_OneToVisibility_" />
<views:PresenceStatus x:Key="_PresenceStatus_" />
<views:MoreThanOneToVisibility x:Key="_MoreThanOneToVisibility_" />
<views:MoreThanZeroToVisibility x:Key="_MoreThanZeroToVisibility_" />
<views:UnreadAccountNotificationsString x:Key="_UnreadAccountNotificationsString_" />
<views:PartialTrustToVisibility x:Key="_PartialTrustToVisibility_" />
<views:TrustedToVisibility x:Key="_TrustedToVisibility_" />
<views:SelectedAccountToVisibility x:Key="_SelectedAccountToVisibility_" />
<views:CallStatusToSpinnerVisibility x:Key="_CallStatusToSpinnerVisibility_" />
<views:CallStatusForIncomingCallEllipse x:Key="_CallStatusForIncomingCallEllipse_" />
<views:AccountRegistrationStateToString x:Key="_AccountRegistrationStateToString_" />
<views:AccountRegistrationStateToForeground x:Key="_AccountRegistrationStateToForeground_" />
<views:ContactAccountTypeToVisibility x:Key="_ContactAccountTypeToVisibility_" />
<views:ContactConferenceableToVisibility x:Key="_ContactConferenceableToVisibility_" />
<cnv:BubbleBackground x:Key="_bubbleBackground_" />
<cnv:BubbleHorizontalAlignement x:Key="_bubbleHorizontalAlignement_" />
<cnv:boolToVisibility x:Key="_boolToVisibility_" />
<cnv:MessageDateTimeString x:Key="_MessageDateTimeString_" />
<cnv:MessageChainBreakToVisibility x:Key="_MessageChainBreakToVisibility_" />
<cnv:MessageChainBreakToHeight x:Key="_MessageChainBreakToHeight_" />
<cnv:CachedImageConverter x:Key="_CachedImageConverter_" />
<cnv:NameToInitialConverter x:Key="_NameToInitialConverter_" />
<cnv:NewMessageBubbleNotification x:Key="_NewMessageBubbleNotification_" />
<cnv:NewMessageNotificationToNumber x:Key="_NewMessageNotificationToNumber_" />
<cnv:IncomingVisibility x:Key="_IncomingVisibility_" />
<cnv:OutGoingVisibility x:Key="_OutGoingVisibility_" />
<cnv:HasAnActiveCall x:Key="_HasAnActiveCall_" />
<cnv:HasAvatarToVisibility x:Key="_HasAvatarToVisibility_" />
<cnv:AccountTypeToSourceImage x:Key="_AccountTypeToSourceImage_" />
<cnv:RingAccountTypeToVisibility x:Key="_RingAccountTypeToVisibility_" />
<cnv:AccountSelectedToVisibility x:Key="_AccountSelectedToVisibility_" />
<cnv:CollapseEmptyString x:Key="_CollapseEmptyString_" />
<cnv:ContactStatusNotification x:Key="_ContactStatusNotification_" />
<cnv:uintToVisibility x:Key="_uintToVisibility_" />
<cnv:OneToVisibility x:Key="_OneToVisibility_" />
<cnv:PresenceStatus x:Key="_PresenceStatus_" />
<cnv:MoreThanOneToVisibility x:Key="_MoreThanOneToVisibility_" />
<cnv:MoreThanZeroToVisibility x:Key="_MoreThanZeroToVisibility_" />
<cnv:UnreadAccountNotificationsString x:Key="_UnreadAccountNotificationsString_" />
<cnv:PartialTrustToVisibility x:Key="_PartialTrustToVisibility_" />
<cnv:TrustedToVisibility x:Key="_TrustedToVisibility_" />
<cnv:SelectedAccountToVisibility x:Key="_SelectedAccountToVisibility_" />
<cnv:CallStatusToSpinnerVisibility x:Key="_CallStatusToSpinnerVisibility_" />
<cnv:CallStatusForIncomingCallEllipse x:Key="_CallStatusForIncomingCallEllipse_" />
<cnv:AccountRegistrationStateToString x:Key="_AccountRegistrationStateToString_" />
<cnv:AccountRegistrationStateToForeground x:Key="_AccountRegistrationStateToForeground_" />
<cnv:ContactAccountTypeToVisibility x:Key="_ContactAccountTypeToVisibility_" />
<cnv:ContactConferenceableToVisibility x:Key="_ContactConferenceableToVisibility_" />
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ms-appx:///Styles.xaml"/>
......
This diff is collapsed.
/**************************************************************************
* Copyright (C) 2016 by Savoir-faire Linux *
* Author: Jger Nicolas <nicolas.jager@savoirfairelinux.com> *
* Author: Traczyk Andreas <andreas.traczyk@savoirfairelinux.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/
#pragma once
using namespace Platform;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Interop;
using namespace Windows::UI::Xaml::Documents;
#define NOTIMPLEMENTED \
{ \
throw ref new Platform::NotImplementedException(); \
}; \
namespace RingClientUWP
{
namespace Converters
{
public ref class BubbleBackground sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
BubbleBackground() {};
};
public ref class BubbleHorizontalAlignement sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
BubbleHorizontalAlignement() {};
};
public ref class ContactAccountTypeToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
ContactAccountTypeToVisibility() {};
};
public ref class ContactConferenceableToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
ContactConferenceableToVisibility() {};
};
public ref class CachedImageConverter sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
CachedImageConverter() {};
};
public ref class NameToInitialConverter sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
NameToInitialConverter() {};
};
public ref class HasAvatarToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
HasAvatarToVisibility() {};
};
public ref class AccountRegistrationStateToString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
AccountRegistrationStateToString() {};
};
public ref class AccountRegistrationStateToForeground sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
AccountRegistrationStateToForeground() {};
};
public ref class MessageChainBreakToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
MessageChainBreakToVisibility() {};
};
public ref class MessageChainBreakToHeight sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
MessageChainBreakToHeight() {};
};
public ref class MessageDateTimeString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
MessageDateTimeString() {};
};
public ref class IncomingVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
IncomingVisibility() {};
};
public ref class PresenceStatus sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
PresenceStatus() {};
};
public ref class OutGoingVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
OutGoingVisibility() {};
};
public ref class HasAnActiveCall sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
HasAnActiveCall() {};
};
public ref class AccountTypeToSourceImage sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
AccountTypeToSourceImage() {};
};
public ref class RingAccountTypeToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
RingAccountTypeToVisibility() {};
};
public ref class AccountSelectedToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
AccountSelectedToVisibility() {};
};
public ref class NewMessageNotificationToNumber sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
NewMessageNotificationToNumber() {};
};
public ref class NewMessageBubbleNotification sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
NewMessageBubbleNotification() {};
};
public ref class CollapseEmptyString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
CollapseEmptyString() {};
};
public ref class ContactStatusNotification sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
ContactStatusNotification() {};
};
public ref class boolToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
boolToVisibility() {};
};
public ref class uintToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
uintToVisibility() {};
};
public ref class OneToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
OneToVisibility() {};
};
public ref class UnreadAccountNotificationsString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
UnreadAccountNotificationsString() {};
};
public ref class MoreThanOneToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
MoreThanOneToVisibility() {};
};
public ref class MoreThanZeroToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
MoreThanZeroToVisibility() {};
};
public ref class PartialTrustToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
PartialTrustToVisibility() {};
};
public ref class TrustedToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
TrustedToVisibility() {};
};
public ref class SelectedAccountToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
SelectedAccountToVisibility() {};
};
public ref class CallStatusToSpinnerVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
CallStatusToSpinnerVisibility() {};
};
public ref class CallStatusForIncomingCallEllipse sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) NOTIMPLEMENTED
CallStatusForIncomingCallEllipse() {};
};
}/* using namespace Converters */
}/* using namespace RingClientUWP */
\ No newline at end of file
......@@ -237,37 +237,6 @@ RingClientUWP::Views::MessageTextPage::sendMessage()
}
}
Object ^ RingClientUWP::Views::BubbleBackground::Convert(Object ^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object ^ parameter, String ^ language)
{
auto c1 = Utils::ColorFromString("#ffebefef");
auto c2 = Utils::ColorFromString("#ffcfebf5");
return ((bool)value) ? ref new SolidColorBrush(c1) : ref new SolidColorBrush(c2);
}
// we only do OneWay so the next function is not used
Object ^ RingClientUWP::Views::BubbleBackground::ConvertBack(Object ^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object ^ parameter, String ^ language)
{
throw ref new Platform::NotImplementedException();
}
RingClientUWP::Views::BubbleBackground::BubbleBackground()
{}
Object ^ RingClientUWP::Views::BubbleHorizontalAlignement::Convert(Object ^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object ^ parameter, String ^ language)
{
return ((bool)value) ? Windows::UI::Xaml::HorizontalAlignment::Left : Windows::UI::Xaml::HorizontalAlignment::Right;
}
// we only do OneWay so the next function is not used
Object ^ RingClientUWP::Views::BubbleHorizontalAlignement::ConvertBack(Object ^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object ^ parameter, String ^ language)
{
throw ref new Platform::NotImplementedException();
}
RingClientUWP::Views::BubbleHorizontalAlignement::BubbleHorizontalAlignement()
{}
void RingClientUWP::Views::MessageTextPage::OnincomingMessage(Platform::String ^callId, Platform::String ^payload)
{
scrollDown();
......
......@@ -28,20 +28,6 @@ delegate void CloseMessageTextPage();
namespace Views
{
public ref class BubbleBackground sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object^ parameter, String^ language);
BubbleBackground();
};
public ref class BubbleHorizontalAlignement sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, Windows::UI::Xaml::Interop::TypeName targetType, Object^ parameter, String^ language);
BubbleHorizontalAlignement();
};
public ref class MessageTextPage sealed
{
public:
......
This diff is collapsed.
......@@ -41,275 +41,6 @@ delegate void HidePreviewPage();
namespace Views
{
public ref class ContactAccountTypeToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
ContactAccountTypeToVisibility() {};
};
public ref class ContactConferenceableToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
ContactConferenceableToVisibility() {};
};
public ref class CachedImageConverter sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
CachedImageConverter() {};
};
public ref class NameToInitialConverter sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
NameToInitialConverter() {};
};
public ref class HasAvatarToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
HasAvatarToVisibility() {};
};
public ref class AccountRegistrationStateToString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
AccountRegistrationStateToString() {};
};
public ref class AccountRegistrationStateToForeground sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
AccountRegistrationStateToForeground() {};
};
public ref class MessageChainBreakToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
MessageChainBreakToVisibility() {};
};
public ref class MessageChainBreakToHeight sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
MessageChainBreakToHeight() {};
};
public ref class MessageDateTimeString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
MessageDateTimeString() {};
};
public ref class IncomingVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
IncomingVisibility();
};
public ref class PresenceStatus sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
PresenceStatus() {};
};
public ref class OutGoingVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
OutGoingVisibility();
};
public ref class HasAnActiveCall sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
HasAnActiveCall();
};
public ref class AccountTypeToSourceImage sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
AccountTypeToSourceImage();
};
public ref class RingAccountTypeToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
}
RingAccountTypeToVisibility() {};
};
public ref class AccountSelectedToVisibility sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
AccountSelectedToVisibility();
};
public ref class NewMessageNotificationToNumber sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
NewMessageNotificationToNumber() {};
};
public ref class NewMessageBubbleNotification sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language) {
return nullptr;
};
NewMessageBubbleNotification() {};
};
public ref class CollapseEmptyString sealed : IValueConverter {
public:
virtual Object^ Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language);
virtual Object^ ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language);
CollapseEmptyString();
};
public ref class ContactStatusNotification sealed : IValueConverter {